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


Similar Posts:


ActionScript 3.0 :: Music To Stop And Continue Once Leave That Page

Oct 11, 2011

I created a flash site with four pages with music playing in the backround. on one page I want the music to stop and continue once you leave that page.

View 2 Replies

ActionScript 3.0 :: Stop Sound On Current Page When Going To Previous Page?

Oct 19, 2010

I'm working on a pretty basic interactive children's book. I have it set up so that each page has audio relating to that specific page. Going forward, there is no issue with sound overlapping from the current and next pages. Going backward, however, there is an issue with sound playing on both the current and previous pages. How do I stop this?

Here is the script I'm using-

ActionScript Code:
stop();
import flash.events.MouseEvent;

[Code].....

View 3 Replies

IDE :: Stop Sound On Next Frame/page?

Apr 5, 2010

The website has buttons to navigate on each page. Each page has a sound. I tried the embed and external but when I click on a button to navigate to another page but the sound from the previous page is still there which overlaps on the next page's sound.

How can I make the music from the current page stop when going to the next page? I want the next page's sound to play and not have both sounds play at the same time.

I have tried whatever.stop();, SoundMixer, and everything in the Internet for the past 2 days and I still can't make something very basic as changing music work.

View 2 Replies

ActionScript 3.0 :: Controlling - Sound Will Stop When Goto Page 2

Jan 17, 2011

for example i have a two pages, in page 1 theres a sound thats playing, but if i will try and go to page 2 the sound will stop, but if i will go back to page 1 the sound will be played again..

View 4 Replies

IDE :: Stop Video When Going To Another Page?

Aug 24, 2009

I am working on a website using the [URL] tutorial for Flash CS4.

I ran into a bit of a problem, I made my flash movie and everything was good. I added a welcome video with sound that plays when the user opens the website, my only problem is that when you click on the other pages the video and sound keep playing even if you see the other page.

How do I get that video with sound to stop once you go away fro the page and go to another page?

View 3 Replies

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 2.0 :: How To Stop Video When Go To Another Page

Apr 24, 2011

I am trying to stop video when I change to another page [URL].

View 9 Replies

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

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

Stop Video Player When Accessing Another Page?

Mar 17, 2009

I'm looking for a (simple) way to make the vidplayer to stop playing when moving from one page to another one (on the same timeline hey). As it is right now if you start to watch a video and don't push the stop button before going to another page it keeps playing - hence you still hear the sound playing in the background while you're actually looking at another page. And that's not good.

View 3 Replies

Video Won't Stop Playing When Change Page?

Dec 2, 2009

Im using flash4 with action script 3.0, for a website promoting the xbox games Ive worked on.

[URL]

as you will see the videos wont stop playing when I change pages, and I cant work it out at all, Im more than willing to give you a mention on my site . Im more than willing to supply you with the flash file...

View 3 Replies

Stop Swf Video From Starting When Page Is Openend

Oct 13, 2009

How can i stop an swf video file from starting when the page is opened in browser? Under the publish settings i click on (paused at start) . This doesn't seem to have any affect on whether the video starts when the page is opened.

View 3 Replies

Professional :: Stop Video After Leaving Page?

Jan 8, 2010

i want to stop my video once i click onto another page
 
but the video still plays in the background??

View 4 Replies

Flash :: Running Code On Page Leave

Oct 31, 2011

How can I run code in Actionscript 3 when a page with my flash object is.well.I'm not sure of the term.When the webpage is left and the flash applet is exited?

View 2 Replies

ActionScript 3.0 :: Unload External FLV's When Leave Page?

Jul 7, 2011

I have a site that has multiple video clips on multiple pages. However, once you get a few pages into the site it really bogs down, and I am wondering if it might be that the previous FLV that was playing when you clicked on the button to leave that page, might still be playing in memory or behind the scenes?

I currently have the next page buttons coded with:
Code:
SoundMixer.stopAll();

and the sounds are stopping, but I am wondering if Flash still is using resources to keep the video playing on that frame?

Do I need to unload the video clip, or stop it somehow with the button?

These are external FLV's, NOT embedded in the timeline.

My CPU usage stays between 80-100% and once you click trough a few pages, it really begins to bog down, and stutter, and crash Flash Player.

View 1 Replies

ActionScript 3.0 :: Remove A .swf Once Leave The Index Page?

Sep 7, 2009

i am trying to remove a .swf once you leave the index page. unsure of the method "contains" and how to remove the banner var or unload the var

the page variable code is

Code:
var sights:URLRequest=new URLRequest("sights.swf");
this defines the page loader

[Code].....

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

Stop Video Audio When Clicking On New Page Of Site

Aug 5, 2009

The situation is I have a number of pages with a single movie clip on each, however once the movie is playing and you click the home or contact buttons for example, it will go to the correct page but the movies sound keep playing in the background. So I've got a code, but I just get an error sayign tanmovstop() does not have a body. I'm very new to action script so am very lost! I'll be extremely grateful. The code on the sites main buttons is as follows, with tanmov being the movie whos sound I want to stop:

[Code]....

View 1 Replies

ActionScript 3.0 :: Get An Flv Video To Stop Playing When Exit The Page It's On?

Sep 13, 2011

The audio continues to play no matter where I navigate on the site.

View 6 Replies

Flash :: Player Keeps Playing Audio After Leave Page?

May 31, 2009

I deployed a website a couple of days ago which is written entirely in Flash.  On one of the pages there is a video which plays in the Flash Player.  I have noticed that when I leave the video playing and select a button to take me to another page, the other page comes up but the audio keeps playing from the prior page. Worse yet, if I go back to the page with the Flash Player, it now relaods again and there are two audio tracks.  Can someone tell me how this code is solved?  There must be some Actionscript 3.0, which I'm using, which kills the player whenever you enter a different page? 

View 1 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 :: Gallery Page With A Bunch Of Page Numbers - Click On A Page Number, The Over Script Should Stop Until Go To Another Page?

Jan 26, 2009

i'm trying to build a flash site and ran into a problem... i have a gallery page with a bunch of page numbers at the top. when you click on one, a movieclip loads of some images coming in.so the problem i'm having is that i made a little animation for when you roll the mouse over the page number (they scale up when the mouse is over, scale back when the cursor moves away)... what it's doing is when you roll over, it goes to a certain frame in the timeline and plays that animation.that's all working cool, but i need it to not do that once it's clicked on. so basically when you actually click on a page number, the over script should stop until you go to another page... here's the code i've written,

function over(event:MouseEvent):void {
this.gotoAndPlay(30);}
function out(event:MouseEvent):void {[code].....

View 0 Replies

ActionScript 3.0 :: Stop Video Playing When Changing Frame/page?

Nov 28, 2011

i have a video that appears when looking at my 'Other' page. But when i click onto a different page i see the new page but can still hear the videos sound. how to stop the video when you leave that page?

View 2 Replies

ActionScript 3.0 :: Flash Video Not Stop Playing When Goto Another Page

Jun 25, 2009

I am having a problem with the video on my website. I put a couple of videos on there and I have them working. But if I click on another page, the sound is still playing on the video until it is over. I found a temporary solution by putting in the code to STOP ALL. This make it work how it should. But the thing is I want background music, and with the code I have know the music would shut off every time I go to another page. Is there any code where I could just shut the sound off for that video when I click on something else and not ALL sound?

View 8 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

Java :: Youtube Keep Flash Video Playing / When Go To Users Profile Page From Video Page?

Aug 31, 2011

In the cosmicpanda update for youtube, you can go from a video page to the video creators profile page while your video is still playing in flash. Does anyone how Youtube accomplishes this? I would like to know if it's possible to keep the flash state of a site constant while moving from page to page on a site.It doesn't seem as if the flash is reloading, so I don't think that they are just saving cookies for the current video time and starting the video at that point when they refresh.I would assume that they're using ajax, but the application of this feature is really clean. The URL gets correctly changed to the users' profile page's URL. The back button still works as it should. (I can press back and forward between video page and user profile page and the video continues going clean and never drops.)

View 2 Replies







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