ActionScript 3.0 :: Stop Sound/video Across Different Windows?

Nov 13, 2010

I have a flash video (.flv) that auto plays upon page entry... and the user also has the ability to view a second video (by clicking on link on webpage)... it opens a SOLIDBOX (similar to floatbox) window and plays the second video... which is great.

But unfortunately the AUDIO/Video from the initial video (behind solidbox POP UP) is still playing. A savvy user would realize this and stop the other video, but unfortunately, to make it user friendly for our customers, we need it to automatically stop the initial video.

How can this be accomplished? How can i stop the initial video when the link on the webpage is clicked (opening the pop up with second video playing)?

You can see this all in action here:[URL]

(notice the video upon entry starts playing... then click on the yellow starburst (DEMO GREETING linK) to open the second video)

View 6 Replies


Similar Posts:


IDE :: Stop Video Sound From Looping?

Mar 23, 2009

im currently building a site with 3 buttons and each buttons loads an external swf for each section of the site on a empty movie clip, im having an issue with the video section that has an video thumb gallery loading flv videos,

every time i try to go somewhere else in the site, the video sound continues to play (loop) behind the scene.

this is the actionscript code im using for my buttons.

[Code]....

View 9 Replies

ActionScript 3.0 :: Stop Sound Once Video Unloaded?

Feb 21, 2009

I am loading swf's that have an flv embedded on the timeline. When the user selects from the menu I unload the swf and load another. This is working fine, but the audio from the first swf's video keeps playing. How can I kill this first videos audio track?

View 3 Replies

ActionScript 3.0 :: Stop And Then Start Sound From A Video?

Jun 1, 2011

I am making a small website and i am trying to stop the sound from a video playing when the user clicks any other button to navigation away from the video which is fine (SoundMixer.StopAll behind the code for each of the buttons) but then if they decide to go back to the video page there is no sound? I tried removing the event listener but i cant get it to work

View 3 Replies

ActionScript 3.0 :: When Leave The Video Page , Sound Will Be Stop?

Jun 8, 2010

I'm building a site that has an mp3 player that's available all the time.I'm adding a video page to the site.The videos use an FLVPlayback component.When I leave the video page I want the sound that was playing on that video to stop.I can't use SoundMixer.stopAll() because if I had the mp3 player playing before I went to a page I want it to keep playing.

View 5 Replies

ActionScript 2.0 :: Stop Audio Sound When Video Is Playing?

Jan 19, 2009

I want to stop my background music(audio) from playing when i click on a button which loads video[code]...

View 0 Replies

ActionScript 3.0 :: Stop Only Flv Video Sound And Continue The Bg Music To Play

Sep 3, 2010

I made a webiste with bg sound home, portfolio, gallery, contcts. This  are the links. when click portfolio, which contain a flv file, when  clicking the flv file bg music stop and video will play smoothly.But if i  navigate to other links the sound from the flv remains their and my bg  music not playing also.. one code SoundMixer.stopAll();  i got this code  b4, it vil stop all sounds... i dnt need to stop the background music, i  need to stop only my flv video sound.. there's a bg music playing, when  entering to the portfolio section thers a flv video vth sound. i can  stop all other sounds ven playing this flv video but i cant stop this  sound ven navigating to other sections and i need to continue the bg  sound ven navigating to other sections...

View 1 Replies

Professional :: Video Sound Won't Stop When Changing Frames On Timeline

Nov 19, 2010

I've been making the transition from AS2 to AS3 for the last week and am making progress. But I'm having a problem that hopefully someone can help me with. I'm using Flash CS5. I have a fairly simple Flash website I'm working on. I have sections on the timeline like Home, About, Photos, Media ... all set up using labels for each of those sections. Everything is working fine but when I go to my Media section where I have a video placed (using the flv component) I'm having a problem as follows:

The video auto plays fine when I go to the Media section but when I attempt to leave the section and go to another the sound of the video doesn't stop. It continues to play when I go to another section and if I go back to the section it starts again. The video is not there when I go to another section which is the part that's confusing me. In AS2 when I did this the video and the sound both stopped because you went to another section on the timeline. Why is the sound of the video not stopping in AS3?

View 28 Replies

ActionScript 3.0 :: Video / Sound Won't Stop When Clicks A Menu Button To Go To Another Frame?

Mar 19, 2010

I am in frame 20 which is playing a video, How do I get it to stop sound and video when some clicks a menu button to go to another frame? Where do I put the code?0

View 3 Replies

Actionscript 3 :: Stop Sound And Video When Clicking A Menu Button To Go To Another Frame?

Mar 28, 2010

I have a problem with my slideshow script. I have embedding a flash video file into my website with this slideshow called monoslideshow, and everything seems to work perfectly. Trouble is, when I am clicking on another menu button that should jump to another frame, it still keeps playing the video and sound while displaying the new menu data.So I will probably need some code that stops the video instantly, when another menu button is clicked. But how do I write it and where do I put it?

Here is my actionscript for the video file to show:

var loaderSlide:Loader = new Loader();
var monoslideshow:Object;
loaderSlide.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoadComplete);
addChild(loaderSlide);

[Code]...

It would be great to get a solution to this problem, otherwise my website will be kinda messy ;)

View 1 Replies

ActionScript 3.0 :: Video Won't Stop Using Same Command That Made Video Stop

May 7, 2011

I have a website that plays video1 when it opens. When you navigate to next page the video stops. One of the buttons on the second page plays video2. The problem is that video 2 won't stop using the same command that made video1 stop.

View 2 Replies

ActionScript 3.0 :: Stop Button Sound But Not Main Background Sound?

Aug 5, 2010

I have a bit of a problem with sound.. I have a main container animation with background sound that's loaded with soundChannel..I also have an externally loaded SWFs with Movie Clip buttons that have a sound ON ROLLOVER on the timeline..after rolling off - I place the:SoundMixer.stopAll();to stop the button from playing the sound once the mouse is rolled off.. However, the problem I'm running into is that it also stops the sound of the main container movie cli

View 1 Replies

ActionScript 2.0 :: Sound - Stop Button To Allow The User To Stop Mid Song

Mar 13, 2007

i have programed a play button using:

[Code]...

now i am trying to program the stop button to allow the user to stop mid song....

View 4 Replies

Sound Stop All Sounds Works / Then Sound Starts Again?

Jan 5, 2010

I am using FLASH CS3.I have gone through many posts, seems to be an issue with many people.Still haven't come across a fix.Website made in FLASH. Flash movie loads and sound works great!I have a button with 'StopAllSounds' action script.[code]When I go back to main page... sound starts up again.Is there a way I can stop all sound regardless of where the visitor goes on the website?

View 2 Replies

Stop Sound From Going Into Next Scene While Keeping Button Sound?

Oct 19, 2010

I'm sure this is a common problem, I tried looking around on the forum for a problem like mine but was unable to find anything. I'm using Flash CS3, Actionscript 2.0, and am making a soundboard. I have two scenes, one that's the title screen, of which has a sound file loaded via the timeline, (I think) set to Event and Loop, and a button which takes you to the next scene and makes a short sound when it's pressed. My second scene has background music as well, also set to Event and Loop.

Problem is that when I press the button, the background music keeps playing into the next scene. I tried using putting stopAllSounds onto the button, but that makes the sound of the button stop as well, and I'd really like to keep it. I've been messing with this for days, and I can't figure it out.

View 3 Replies

ActionScript 2.0 :: Play Sound/stop Sound Button?

Feb 13, 2007

i want to make a single button to play a sound, and if pressed again, stop the sound. and if pressed again, play the sound, and so on...
i know it has to be made with a boolean variable, true/false, but i just can't figure out how.

View 13 Replies

ActionScript 3.0 :: Sound Latency On Windows But Fine On Mac?

Jul 23, 2009

I have a project that plays several sounds and triggering interaction on key presses. On mac everything is fine - the animation and the sound gets triggered simultaneously. However, when I port it to windows (either as a swf or exe projector), there seems to be a .5 second delay in the sound. I have to load the sound files from a local filesystem. I've tried pre-loading all the sound so I can just play the sound object when needed, but the latency is always there.

View 1 Replies

ActionScript 2.0 :: Sound Latency Bad In Windows Good On Mac

Oct 4, 2010

In the game there is a backing groove played by triggering one movieclip to play. The user triggers short sounds from buttons embedded in drag and drop movie clips to play along with the backing groove.

On Safari or Firefox on mac the timing is absolutely fine.

On IE on Windos XP there is enough latency to make it unplayable.

View 0 Replies

Professional :: Disable Sound In Flash Player (Windows)?

Jan 12, 2009

I would like to completely disable the soundin Adobes Flash-Player in case of "nerving"Websites. Is there a way to disable the soundin Flash-Player, but without disabling the sound in

View 3 Replies

Media Server :: Get Sound Level Of Each Clients Who Are Streaming Video And Sound?

Oct 20, 2011

I am using a flash app. I can send and receive streaming data to FMS by using this app, like the chart I attached. [URL] This app uses RTMP to access to FMS. I want to upgrade this app to display sound level of each client. Is it possible by using Actionscript and FMS? If so, which class should I use?

View 3 Replies

Photo Gallery - Able To Have Two Specification Windows Where To Enter A F-stop And Shutter Speed

Mar 16, 2009

I have a lot of pictures I need to be able to have two specification windows where I can enter a f-stop and shutter speed and when they are entered it displays the corresponding picture or pictures.

View 1 Replies

ActionScript 3.0 :: NetStream Choppy - Make A Character Start To Talk When The Sound Starts And Stop Talk When The Sound Stops

Aug 5, 2010

Need to make a character start to talk when the sound starts and stop talk when the sound stops so I'm using this:

[Code]...

View 2 Replies

Php :: Windows - Add A Ffplay.exe (ffmpeg) Video?

Jun 25, 2010

how can i add a ffplay.exe (ffmpeg) video to php script.can i use exec() to access the ffplay.

View 3 Replies

ActionScript 3.0 :: Sound From Video Plays After Video Player Removed From Stage

Apr 30, 2011

I have a website [URL] when I go there if I click the video archives button then play a video then click on the home or photos button or one of the alternate background buttons on the left the video goes away as it should but not always the audio (especially when I click while the video is still buffering). Is there a command I can use to kill the sound from the flvPlayback component and nothing else(I have a mp3 player there also I so I don't want to use the SoundMatrix class. btw the videos are all played on an instance of the flvPlayback component.

View 7 Replies

ActionScript 2.0 :: Play Sound Like "stop All Sound" Option In Flash?

May 17, 2003

I want to use a sound loop in my flash movie. The movie has many scenes. And the problem is that when I go to next scene or different scene I hear the sound repeating twice. I mean sound does not stop from first scene and begins from the different scenes.Is there any way to play sound like "stop all sound" option in Flash.

View 6 Replies

ActionScript 3.0 :: Video Sound Quality Varies In Video Player?

Jun 9, 2010

I have an AS3 video player I've put together using fairly standard Netstream method and it plays my flv's fine. The problem is, the sound quality varies wildly depending on who is looking at it. When I test locally, the audio in the video is fine, but on a windows machine it goes horrifically loud to the point of distortion, also the client (outside the UK) has said it sounds fine to them, so It appears to be only happening here.

View 2 Replies

ActionScript 3.0 :: Sound Fadeout On Video Start And Fadein On Video End?

Nov 5, 2010

I need to produce a photo review show (basically, a photo slide show), which incorporates still photography, and numerous video clips. We will have music playing in the background (not on the timeline - in the actionscript). The full presentation will run automatically - no user interaction, and therefore, I need the background music to automatically fade out when the video starts, and then fade back in when the video ends.

1. Is Flash CS5 the correct software to do this in?

2. code to tell the sound to fade out when the video starts, and fade back in when the video ends?

View 2 Replies

ActionScript 3.0 :: Importing The Video In The First Frame While Navigating The Video Sound?

Mar 9, 2010

I attached the code here. The problem is after importing the video in the first frame while navigating the video sound is heard which means the video is still playing. How can I stop it when moving to other section. Here is code

[Code]...

View 2 Replies

ActionScript 3.0 :: Multi Video Player - Audio From The Last Video Remains Playing Even When Prompted To Stop??

Jun 2, 2010

I built a timeline based player with 2 menus and many videos that you can play.The buttons move the timeline to a frame label and the video plays. The back button has a stop function built in it so the video stops playing when its hit.It plays wonderfully locally but once on a server after a few clicks it boggs down and sometimes the audio from the last video remains playing even when prompted to stop. I was pointed to use the add and remove child functions to prevent this but being very new to Flash and 100% self taught i have zero idea on how to do this. The link to the player is[url]....Even if its a link to a tutorial or something.

View 3 Replies

ActionScript 3.0 :: Make Video Stop Video When Leaving A Frame?

May 11, 2010

I know how to make a video (instanced as showreel) stop when clicking on a button that that navigates to another section/frame, since otherwise I would still listen to that video while not visible. The problem is when I'm in another frame that doesn't have that video, when clicking on the menu to go to whichever other frame, it looks for that it to stop if it's playing and it and doesn't find it, and so there's an error.
 
How can solve this? Maybe I should put an order saying something like if there exists a video in that frame instanced as sowreel, stop it, otherwise don't do anything as there is nothing to be stopped. Or assign the order to the frame (which is called motion), but I don't know how to do that, can someone help? The code I have is: 
 
import fl.video.VideoEvent;
function onClick(evt:MouseEvent):void {    if( showreel.playing ){        showreel.stop();}    gotoAndStop(evt.currentTarget.name);}
motion.addEventListener(MouseEvent.CLICK, onClick);web.addEventListener(MouseEvent.CLICK, onClick);logo.addEventListener(MouseEvent.CLICK, onClick);photo.addEventListener(MouseEvent.CLICK, onClick);

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved