/    Sign up×
Community /Pin to ProfileBookmark

Need help with script

I have a movie that I have embeded into a frame. I have a link that will open that video up to a full screen new window. I need to know what I have to add to the script to make the first window stop playing the video. It is a flash video and I am willing to post the flash fla as well if neccessary. Here is the java script being used for the pop up window:

<script type=”test/javascript”>
function full()
{
var fs = window.open( “http://www.progressivemultimediaproductions.com/images/taleofweb/test03.swf” , “fsv” , “toolbar=no,width=” + screen.availWidth + “,height=” + screen.availHeight + “,status=no,resizable=yes,fullscreen=no,scrollbars=no”);
fs.focus();
}

</script>

I need the movie in the original window to stop when this one gets launched. Anyone?? Thanks in advance……Jason

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@protohippyauthorNov 08.2006 — still searching and cannot find my answer. I know that I need to send a stop command to the original window, but cannot find a way to do this. Do I need to add a stop to the flash file with AS, or something to the the js that I have above? I am seriously past a deadline and really need some assistance. Thanks in advance.
Copy linkTweet thisAlerts:
@thechasboiNov 08.2006 — protohippy

It sounds like you have a video in one window that is playing and if a user clicks a link or something to that sort a pop-up appears to play another window and you want the flash in the opener to stop. I am thinking that javascript can not talk to flash yet. I do have an idea, if you reload the opener and make it cache itself then you cah get the original video to stop. I hope this helps.
×

Success!

Help @protohippy spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...