can't stop the music when I get out of the page.

Hi all;

I continue to post in the wrong place.  I'm sorry.  I did this post in AC2 and responses did not look right.  So, here I am again.

I'm building a website in flash using my limited understanding of action script.   Everything was very good train until I found that if I go to one of my example of my website pages and read (with audio) flash video and click on back to my "home" button, the audio will continue to play.   If I go back to the example page, the video is turned off and when I run the video, she plays again with the other audio.  I hear the audio twice! I know there is an action script to handle this, but I can't understand it.

My question is, how can I stop the audio when I clicked away from the sample to the homepage or any other page page?

Thanks in advance for your help.

I'm using Flash CS4 and a Mac OS operating system.

Did I mention that I'm not very good with scrupt action, but I'm so close to finishing this web site.

assign your component an instance name (if it doesn't already have one), for example flv in the frame that contains this component, add:

flv.addEventListener (Event.REMOVED_FROM_STAGE, removedF);

function removedF(e:Event):void {}

FLV. Stop();

}

Tags: Adobe Animate

Similar Questions

  • When I scan documents with HP Photosmart 7510 ADF, how can I stop the pages to be marked?

    Hello

    I use a HP Photosmart 7510 (model No. C311a, product no. CQ877B)

    When I scan documents using the automatic document feeder, they are more often (80%) marked left.  It seems to be caused by the wheel which initially grabs the book.  It provokes a black spot of the width of the wheel to be left on the page.

    The mark appears about a quarter turn to the bottom of the page and is about 1/2 cm in height, but is very sensitive.  Sometimes, another brand is left a little further down the page and sometimes these two brands are accompanied by a very reduced, but still noticeable grey banner (again I believe caused by the wheel).

    The brand is very visible not only on the scanned now but also (of course) in the pdf file that result, and since I'm on this printer for things like job applications, it's not big.

    Other people know about this?  If Yes, is it possible to fix it or must return the defective printer?

    See you soon,.

    silverShnoop

    Hello silverShnoop

    Such problems can sometimes be caused by dirty rollers or the parts of the ADF (automatic document feeder). The following instructions (whereas for a different problem) contain instructions for the cleaning of the AAD.

    The ADF (ADF) captures no paper

    There is another article that could help as well. It contains instructions for cleaning the scanner glass.

    Vertical stripes, lines or streaks in the Copies or Scans

  • How can I stop the page to reload automatically when I hit the back button?

    A few months back, I upgraded to a new laptop, and since then, when I hit the back button, it refreshes the previous page from what I can understand. On my last laptop, if I was doing some research on a site and click the previous button, the search bar would be automatically ready to hit the BACKSPACE and delete what is there for a new search. Now, when I hit the back button, I have to manually click inside the search box to do, and I hate it. When you are doing research on multiple sites, like this time savers really help. This applies to regular sites (forums, online stores, etc.), not search like Google sites.

    I don't have this problem on my old laptop and does not know how to solve this problem on this one. They are the two Win7 x 64, and version of the browser is not the issue. I started Firefox on this computer that same exact on the last of them, and after the updates, it's always the same. I am currently on 8.0 but will soon be upgrading to the new.

    Do you mean that the search bar on this page focus?

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • I get the pop-up Alexa Sparky everytime I open Firefox, it does not provide a 'no' option... How can I stop the popup?

    Whenever I open Firefox, I get a pop-up asking me to install the Alexa Sparky toolbar - which I don't want. The popup box does not offer an option to say 'no' or "do not ask me again", which is VERY annoying. How can I stop the popup?

    Hello jhart, this popup also appears when you start firefox in safe mode?

    Troubleshoot extensions, themes, and issues of hardware acceleration to resolve common problems of Firefox

  • How stop the audio when I get out of the frame AS 3?

    Hello

    Could someone find out how to stop the audio when I get out of the AS 3 mounting frame? I had around 20 slides running in a swf file. Each slide has the distinct voice on attached to it. I added slides in a layer and voice in the next layer on the timeline.

    Ago next and previous buttons placed throughout this swf to navigate between slides. This is where the question arises. I can travel easily from 1 to 20 slides and even can return trip. But the voice does not stop as soon as I click on the previous or next buttons. It overlaps with the next or previous voice just above.

    I searched online and suggested its use as channel to bring voices on the slides to have a better control. But honestly I don't know how to do. Could someone help me in doing this? This problem can be very simple for others. As I am a beginner in Flash and Actionscript, it hurts.

    Carry me nicely, if this code seems to be bit annoying and even lenthy :-(

    Thanks in advance.

    Code:

    Forward_Button.addEventListener (MouseEvent.CLICK, forward);

    Previous_Button.addEventListener (MouseEvent.CLICK, prev);

    function forward(event:MouseEvent) {}

    if(this.currentFrame == This.totalFrames) {}

    Stop();

    }

    ElseIf (this.currentFrame > = 55 & & this.currentFrame < 201) {}

    gotoAndPlay (201);

    }

    ElseIf (this.currentFrame > = 201 & & this.currentFrame < 310) {}

    gotoAndPlay (310);

    }

    ElseIf (this.currentFrame > = 310 & & this.currentFrame < 430) {}

    gotoAndPlay (430);

    }

    ElseIf (this.currentFrame > = 430 & & this.currentFrame < 530) {}

    gotoAndPlay (530);

    }

    ElseIf (this.currentFrame > = 530 & & this.currentFrame < 640) {}

    gotoAndPlay (640);

    }

    ElseIf (this.currentFrame > = 640 & & this.currentFrame < 750) {}

    gotoAndPlay (750);

    }

    ElseIf (this.currentFrame > = 750 & & this.currentFrame < 860) {}

    gotoAndPlay (860);

    }

    ElseIf (this.currentFrame > = 860 & & this.currentFrame < 970) {}

    gotoAndPlay (970);

    }

    ElseIf (this.currentFrame > = 970 & & this.currentFrame < 1080) {}

    gotoAndPlay (1080);

    }

    ElseIf (this.currentFrame > = 1080 & & this.currentFrame < 1200) {}

    gotoAndPlay (1200);

    }

    ElseIf (this.currentFrame > = 1200 & & this.currentFrame < 1310) {}

    gotoAndPlay (1310);

    }

    ElseIf (this.currentFrame > = 1310 & & this.currentFrame < 1420) {}

    gotoAndPlay (1420);

    }

    ElseIf (this.currentFrame > = 1420 & & this.currentFrame < 1530) {}

    gotoAndPlay (1530);

    }

    ElseIf (this.currentFrame > = 1530 & & this.currentFrame < 1690) {}

    gotoAndPlay (1690);

    }

    ElseIf (this.currentFrame > = 1690 & & this.currentFrame < 1780) {}

    gotoAndPlay (1780);

    }

    ElseIf (this.currentFrame > = 1780 & & this.currentFrame < 1880) {}

    gotoAndPlay (1880);

    }

    ElseIf (this.currentFrame > = 1880 & & this.currentFrame < 2010) {}

    gotoAndPlay (2010);

    }

    ElseIf (this.currentFrame > = 2010 & & this.currentFrame < 2130) {}

    gotoAndPlay (2130);

    }

    }

    function prev(event:MouseEvent) {}

    If (this.currentFrame > = 201 & & this.currentFrame < 310) {}

    gotoAndPlay (55);

    }

    ElseIf (this.currentFrame > = 310 & & this.currentFrame < 430) {}

    gotoAndPlay (201);

    }

    ElseIf (this.currentFrame > = 430 & & this.currentFrame < 530) {}

    gotoAndPlay (310);

    }

    ElseIf (this.currentFrame > = 530 & & this.currentFrame < 640) {}

    gotoAndPlay (430);

    }

    ElseIf (this.currentFrame > = 640 & & this.currentFrame < 750) {}

    gotoAndPlay (530);

    }

    ElseIf (this.currentFrame > = 750 & & this.currentFrame < 860) {}

    gotoAndPlay (640);

    }

    ElseIf (this.currentFrame > = 860 & & this.currentFrame < 970) {}

    gotoAndPlay (750);

    }

    ElseIf (this.currentFrame > = 970 & & this.currentFrame < 1080) {}

    gotoAndPlay (860);

    }

    ElseIf (this.currentFrame > = 1080 & & this.currentFrame < 1200) {}

    gotoAndPlay (970);

    }

    ElseIf (this.currentFrame > = 1200 & & this.currentFrame < 1310) {}

    gotoAndPlay (1080);

    }

    ElseIf (this.currentFrame > = 1310 & & this.currentFrame < 1420) {}

    gotoAndPlay (1200);

    }

    ElseIf (this.currentFrame > = 1420 & & this.currentFrame < 1530) {}

    gotoAndPlay (1310);

    }

    ElseIf (this.currentFrame > = 1530 & & this.currentFrame < 1690) {}

    gotoAndPlay (1420);

    }

    ElseIf (this.currentFrame > = 1690 & & this.currentFrame < 1780) {}

    gotoAndPlay (1530);

    }

    ElseIf (this.currentFrame > = 1780 & & this.currentFrame < 1880) {}

    gotoAndPlay (1690);

    }

    ElseIf (this.currentFrame > = 1880 & & this.currentFrame < 2010) {}

    gotoAndPlay (1780);

    }

    ElseIf (this.currentFrame > = 2010 & & this.currentFrame < 2130) {}

    gotoAndPlay (1880);

    }

    }

    If your sound is directly on the timeline, then change to Stream will solve your problem, but you need to change every single audio clip.

    For example if VO #1 plays frame 1 to 100, you click anywhere in this layer (where you can see the audio waveform), go to properties and flow the Sync value. If VO #2 play frame of 101 to 200, you must click somewhere in there and do the same thing. Go to the properties, press the Sync drop-down list and change the event to Stream.

    This isn't a level property 'layer '. This is a property ONLY of audio current under your cursor is in. So if you have 500 your, you need to go to each of them and the value Stream Sync event 500 times.

  • Help: How can I stop the sound when I go out of the frame?

    How to stop a puppetsound when I go to another frame.

    I created a button and attached the script below to play the sound

    on mousedown

    puppetsound "the abc song".

    end

    but I want the music to stop when I'm out of the frame

    at the moment when the music is still playing when I get out of the frame.

    any help

    thanx

    You are almost correct. However, I don't think you want to reply to a #exitFrame message and stop your sound (depending on where you have the related code). Instead, use the #endSprite message (issued when the playback head leaves the span of a sprite in the score):

    on mouseDown me

    Sound (5) .play (member ("the abc song"))

    end

    on endSprite me

    Sound (5). Stop()

    end

  • goes into infinity "tabs" loop when I type any email 'Contact us' button how can I stop the loop?

    goes into infinity "tabs" loop when I type any email 'Contact us' button how can I stop the loop?

    You use a Mac, or you're on another platform?

    Any other use of platforms:

    • Mac: Firefox > Preferences
    • Linux: Edit > Preferences
    • Windows: Firefox > Options

    Press F10, if the menu bar is hidden under Windows and Linux, or use "> Firefox Options/preferences.

  • I can't stop the pop-up and adware ads in Safari. When I opened a new take, it is locked until I click a place twice, then two new tabs with advertising and virus detected by safari emerge

    I can't stop the pop-up and adware ads in Safari. When I opened a new take, it is locked until I click a place twice, then two new tabs with advertising and virus detected by safari emerge

    I tried following the instructions on the support page, in Apple, but it did not work.

    Force to leave Safari, then with the SHIFT key, restart Safari.

    Also use EtreCheck of www.etrecheck.com and see what else is running.

  • How can I stop the last post showing when I want to send this person a new Imessage.  I have an Iphone 5s

    How can I stop the last post showing when I want to send this person a new Imessage.  I don't want an old conversation appears constantly when I am a Messenger contact.  I have an Iphone 5s

    I don't know, but let me see if I understand what you're asking. You do not want to see the thread you have with a particular contact when you go to send them another message? The only way to do this is to remove the previous message thread. If you send a message to someone that you already have a thread of conversation with, it will continue to post in this thread. There is no such thing as having multiple threads with the same person. All conversations with the same person would remain in the same thread, unless you remove the previous discussions. If you delete your previous conversation, when you go to start a new conversation, he won't have any of the other answers.

  • How can I stop the sound of reading back to me, when the voice recording

    How can I stop the replay to me a second after that I recorded (audio narration). First 14 elements?

    Roger

    I think that perhaps this is the only option, Bob. I couldn't find another way.

    Unfortunately, if you are wearing your headphones and listen to the audio of the film, when you save, you will hear the echo too.

    It's just the way it works and there is no way to stop doing that I know.

  • Can I stop the slide (text to speech) audio when a legend of quizzes with audio feedback is displayed?

    Hi there, we use text-to-speech on all of our slides, however there is a problem, we have been unable to resolve.  If we have audio on a blade of quiz that this continues to play when the legend of feedback is displayed.  This means that if a learner clicks on the answer quickly, they hear the text on the slide and the text of the caption on top of the other.  How can I stop the slide audio if the legend of feedback is displayed.  We tried shares advanced to "stop audio triggered" and experimented with invisible text captions that have audio added, but have not so far resolved.  Does anyone have an idea how to solve this problem? Any help gratefully received, thank you so much Janet

    PS We use 8 Captivate with the installed voices text-to-speech

    It is currently a common problem with audio in modules of Captivate quiz slides.

    The configuration options for interactive objects on slides of quiz does not allow the same level of control for audio playback with normal interactive objects on other slides.  (for example to be able to stop the other audio when the user clicks on something).

    The Audio triggered Stop action is often misunderstood.  But as its name makes clear, it only applies to stop an audio clip that was TRIGGERED by another action of the art.  That does not apply to background sound, slide level audio or audio level object.

    My suggestion is that you return to your design and determine which of the two audio clips (sound feedback or slide) you can do without.  Maybe your learners them useless as much as you think.

  • How can I stop the ColdFusion 9 auto when I boot 10.6.8?

    Hi all

    Q: How can I stop the ColdFusion 9 auto when I boot 10.6.8?

    Where is the file auto-start for cf9 stored in snow leopard?

    Look in/Library/StartupItems.

    Dave Watts, CTO, Fig Leaf Software

  • My phone suddenly stopped waking up when I get a text

    Out of the blue today, my phone stopped 'waking up' when I get a text message or wickr.  Yesterday, it was perfectly fine.  Nothing is different.

    I have reset or shut down the phone and that didn't help.   Is there anything else I can do?

    Thank you

    What do you mean by 'waking up' If you want to give a sound so if you have your 'Low battery' mode so that cancels the noise to help your battery. If not then go to 'Settings' and click on sounds and make sure that the volume button is in place all the way. -Jon

  • I can't stop the automatic movement of the slide

    I can't stop the automatic movement of the slide.

    I have a slide of pointer with 8 blades. If I click between slides, the active slide will move in this position, when I just missed one that I wanted to move with the mouse. How can I stop this and respond that the mose is oriented to the slide.

    Better yet, saved for LV8.2.

  • Just did my laptop, tried to do windows updates and get a message T "here has been a problem the site witt" and can not open the page I requested at this time.

    Just, I redid my laptop using my system recovery disks. I went to windows update and get this msg when I click on Express.com: the site has encountered a problem and cannot display the page you are trying to view.

    Original title: I redid all my laptop. I went to windows update and get a message that says: there was a problem witht the site and I wanted that the pag can not open the page I have requessted at this time.

    You must download and install Windows XP Service Pack 2 (if not already installed) followed in Windows XP Service Pack 3.  You will find two of them at http://www.microsoft.com/downloads - download the "Network Installation Package" for the two and ignore the part about them being only for the professionals - the parcel I recommend you download will install with or without network connection.

Maybe you are looking for

  • Intel graphics drivers

    Then I looked around my graphic driver updates and I don't really know where to go. The Intel Web site has NONE of the Mac (proof https://downloadcenter.intel.com/product/80939/Graphics-Drivers) compatible graphics drivers, and is the Intel Windows d

  • When I download something at this time, it displays the logo of microsoft word, but does not show the picture logo .so I can do now

    When I download an image with Firefox than time, it shows only the Microsoft word logo but do not show the logo of the photo, so when I open the download file it show only the Microsoft word file. and I don't see my folder. but now what can I do?...

  • Tecra A2 FN + key does not work properly

    Hello world.I have a Tecra A2 (PTA202A-02R002)Running on an XP ProThe FN key is works but doesn't work don't not with others (F6, F7, F8 for the brightness of the screen and wireless). I'd appreciate any help.Thanks in advance. See you soonJAX

  • Sent separate files for each mailbox

    I imported successfully several boxes to mail letters after doing a clean install of El Capitan. The only question that I have at this point is that messages sent from these accounts are all mixed box mailbox sent one.  Before the upgrade, I had a se

  • Spooler does not, file not found

    I have the error message on the server print spooler does not. When I go and tell him to start, I get a second error message saying that the system cannot find the specified file.  What should I do?