FLV audio keeps playing when navigating to different frame or moveclip

Hello
Scenario is as follow :
1. I have a swf contains a FLV paly back component playing a movie .I have used flash cs4 import movie tool to create it. Name of the files are >movie1.swf movie2.swf
2. In the main movie I have a movie clip which loads the movie1.swf and it start playing .Now  user can move from move1 to movie2 by clicking a button
However when I click to view second movie sound of the first movie is still playing .Even if I click to go back to movie1 another sound will be playing and a big mess.
Methods I tried :
     removeChild didn't work.
     myLoader.unLoad() didn't work.
     SoundMixer.stopAll() stop all the sounds in the whole swf. Not a solution.
Any solution to this?
Should I write my own movie player for this .I found it real painful to use FLV playback component.
I am really fed  up with this...!!!
Thank you in advance

The best solution for this is to force the user to stop the flv from playing .The best thing about this method is that , it is clean and I do not use SoundMixer.stopAll() which is not a good solution at all.
Here is a simple way:
I create movieclip callled flv1 and import FLVPlayback component on the flv1 ,I name it flvPlayer
I add a button and name it close ,
I create a movie clip  with a larg box in it and I add it to flv1 as a background.This background movie clip  stops access to any othe button and menues and user has to click close button only.In this case on close button I stop the flv and exit:
        flvPlayer.skin="SkinUnderAllNoFullNoCaption.swf";
     flvPlayer.source="http:.//www.example.com/video/flv_1.flv";
     flvPlayer.setSize(300,300);
     flvPlayer.play();     
     close_btn.addEventListener(MouseEvent.CLICK,closePlayer);
     function closePlayer(e:MouseEvent){
          flvPlayer.stop();//Here I stop it
          gotoAndPlay("exit");// here I exit
No I can create flv2, 3, etc.. and load diffrent flv sources and using a menu I can go diffrent frame without that annoying sounds playing on background.
Hope it is helpfull.

Similar Messages

  • Animation audio keeps playing when the next  slide appears

    I am inserting several SWF files (short demos created in
    Captivate, each with with audio and controls) into a Captivate
    project as animation objects, each on it's own frame. The problem
    is that when I move to the next frame without finishing or pausing
    the animation on the previous slide, the audio keeps playing over
    the audio on the current frame. It becomes cacaphonic when you mvoe
    quickly through multiple frames. Is there some way I can stop/pause
    the audio of the previous animation when you move to the next
    animation frame?
    Thanks!
    Roopesh

    You said ...
    quote:
    Is there some way I can stop/pause the audio of the previous
    animation when you move to the next animation frame?
    Yes, there is. Do not insert animations (SWF)
    containing their own built-in audio. If you do, the audio will
    continue to play until it has completed, even if the user leaves
    the slide on which the animation is inserted - but you knew that,
    huh?
    Sorry, couldn't resist stating the obvious, but I'm
    sure you don't appreciate my sense of humor as much as I, so I'll
    apologize once more. Sorry.
    Seriously, when audio is contained (or "wrapped") in a shell
    like another SWF file, you basically give up control of that audio
    - because the PC's "focus" is on the main SWF - your Captivate
    project. Instead, use the audio for the main project, either at
    slide-level (preferred), or (second choice) at object-level, the
    "object" being the inserted SWF.
    Another possibility - which I haven't tried personally - is
    to include, as a separate object in the inserted SWF, a "mute"
    control that could be clicked before hitting the "Next" button.
    Extra steps for the end user (and you), and it will require at
    least a minimal knowledge of action-scripting (and a copy of
    Flash), but it
    might also work ... maybe ... perhaps.
    Have a great day!

  • Audio keeps playing when opening multiple new tabs from bookmarks folder

    Hi,
    Just wondering if anyone has noticed this behaviour in Safari and if its intentional or perhaps a bug.
    If I have a website open with some audio playing (like a youtube video etc...) and then open some new tabs from a bookmarks folder by choosing "Open in Tabs", the audio from the video in the previous tab will keep playing in the background. However, any tabs that were open before (including the one with the audio) seems to have been automatically closed when choosing the "Open in Tabs" option so there doesn't appear to be a way to stop the audio, other than closing Safari.

    You're welcome.
    Could you please click the "''Solved It''" button next to the post which solved the problem for you? This will help others searching for a solution to the same question.
    Thanks.

  • Premiere Pro CC freezes on a frame during playback, but audio keeps playing?

    Hi,
    First time poster, long time visitor to the boards. Running a new Mac "Pony Keg" (I think calling it a "trash can" invites bad performance ) with OSX 10.9.5.  Here's a recurring issue: I am playing back a sequence and then it will freeze on a frame (different everytime) and the audio keeps playing. I can stop the playback and it will continue to play, but the frame is locked in. Next, I'll quit out of the app, and try to reopen, but nothing happens because Premiere never actually quit. I'll pull up Force Quit window and it reads as "not responding." I'll Force Quit, relaunch the project and things will work again for a while, and then I need to do a whole reboot.  Any thoughts on what might be causing this freeze frame issue or why Premiere won't actually quit? I've seen these posts in some various threads, but not these two issues in the same thread. Thanks in advance for any help and insights offered!
    Best,
    Tracy

    Hi Tracy,
    I would suggest these things:
    Do this first: Premiere Pro CC, CC 2014, or 2014.1 freezing on startup or crashing while working (Mac OS X 10.9, and later)
    If that doesn't help, Change the Video Renderer to Mercury Playback Engine software only under File > Project settings > General. Delete previews after clicking on OK.
    If nothing helps, try this:
    Go to the following locations:
    Location 1: When in Finder, click on Go > Go to Folder > ~/Library/Application Support/Adobe
    Location 2: Go > Go to Folder > ~/Library/Preferences/Adobe
    Location 3: Documents > Adobe
    In all the locations, rename the 'Adobe' folders to 'OldAdobe'
    Launch Premiere, accept the License Agreement and see if it works.
    Note: You will lose your customized workspaces, keyboard shortcuts and media cache.
    Thanks,
    Rameez

  • Audio keeps playing after I navigate away from page?

    Hi
    When I play media, for example a YouTube video, when I navigate away from the page the audio keeps playing. This is unique to Safari. Firefox doesn't behave in this way. Any ideas how to fix this?
    Cheers.

    1. System Preferences >  Flash Player > Advanced >  Delete  All
         Press the "Delete All" button
    2. Safari > Preferences > Privacy
        Press the button “ Remove All Website Data”.

  • Video inserted into AP Element - Audio keeps playing on rollout

    Hi,
    I have created an AP Element that on rollover a thumbnail video plays of the full video.
    This works fine.
    However on rollout, the video does disappear, but the Video Audio keeps playing.
    How do I stop the Audio playing when the user rolls out of the link?

    It keep playing because your rollout action doesn't specifically turn off the audio (it only makes the video invisible). It probably doesn't stop the downloading of the video either. So while the video isn't displaying, it continues to download the entire file..... not a good idea!
    Depending on how you are playing the video, you'll have to devise a means of controlling the video (NOT just making it invisible).
    For example:
    If the player is a Flash player using NetStream, a simple ns.close(); button would work.
    If a JWPlayer, you can use javascript to stop the player, something like this:
    <a onclick="jwplayer().stop();"...........
    I know that's an onclick event, but you should get the idea.
    You'll have to adapt the principle to match your specific vid player.
    To eliminate this very common video player issue, you MUST stop the video (and audio) as the very first action, BEFORE you make the video player disappear.
    Best wishes,
    Adninjastrator

  • The video picture is hang but audio keeps playing

    We are using FMS3.5 for VOD streaming. It’s spotted that when we are using Flash Player Version = WIN 10.0.42.34/10,0,45,2, it is encountered that the video picture is hang but audio keeps playing after our commercial break point. we will first pause the video content and then use the same object to play the instream ad. After that, the video is resume when instream ad complete.
    Thanks for helping!

    Hi,
    Can you pls pass me the client side code?
    Need to check if you are doing the right thing.
    Let me know the type of VOD and ad contents you are using.
    You can write me at [email protected]
    Regards,
    Janaki L

  • PPro14CC - Playback freeze, audio keeps playing (OS X, iMac)

    I think this is might be a similar issue to what others are experiencing, but the symptoms are unique so I'm hoping someone has found a possible solution by now?
    One of our editors has been working on a large project (10 HD promo spots, at least 100GB of raw footage from Canon C300) and experiencing at least 4 crashes per day. And by "crash" I mean that CC14 stops playback -- the Program monitor freezes -- while the audio keeps playing. In some cases he can switch out to the Finder and then back to CC14 to stop the playback, and while he is able to hit "Save" and "Quit" the Program monitor never unfreezes. Some times though he gets the Beachball of Death and has to force quit everything, and curiously the timeline audio still plays out of the speakers after CC14 has quit and the machine is waiting to restart. On at least one occasion he got a major error and PPro created a new project file after closing down. VERY frustrating.
    From what he's told me (I haven't been working alongside him that closely), the freeze ONLY happens when the playhead hits a clip that has filters or effects applied. Right now he's mostly doing a picture-in-picture effect with a beveled edge filter applied to the smaller window, and 3-way color correction on other clips.
    For troubleshooting I focused on the graphics card first. The iMac has a Geforce 780 and was originally running with OpenCL so I downloaded the latest CUDA driver and switched to that but it made no difference. Turning OFF the hardware acceleration just made everything sluggish. I also repaired permissions on the drive. I'm hesitant to do anything too major while he's still working so please let me know if trashing prefs and/or reinstalling will wreck anything in the project or if you would recommend importing everything into a new one.
    Brand new 27" iMac (non-Retina), 32GB ram, latest Yosemite (10.10) and CC14 versions, no plugins installed, no fancy system extensions or antivirus software. OWC Thunderbay RAID, M-Audio speakers, 2nd monitor is 42" Plasma TV via mini-Displayport-to-HMDI adapter in 2nd Thunderbolt port.
    TIA, JVK

    UPDATE:
    We switched the Sequence Settings Preview to Quicktime>ProRes from I-frame MPEG, and it seems to be running better. Will update again if it fails to produce consistent results. Hope this helps somebody else!
    JVK

  • Video freezes, audio keeps playing always on main monitor

    I just installed FCS2 on my 1.5GHz powerbook G4, everything works perfectly fine until I try to play any video files in the viewer or the canvas. The picture freezes as soon as I hit play on whatever frame its on, the audio keeps playing fine. Everything seems to be running smooth and fast except I can not get any files to play!!! I just upgraded my ram to 1.25 gb and im running mac osx 10.4.11. Ive tried reinstalling, trashing preferences and cache, messing around with every setting I could think of...PLEASE HELP!!!

    What format is your video?
    Are the appropriate Easy Setup and Sequence Settings selected?
    Where is the source material located?

  • Dvd player not working after Instaling OS X 10.8.4 Video freezes while audio keeps playing

    After installing OS X 10.8.4 I tried to play a DVD and the video starts to freeze up while audio keeps playing. Video eventually stops completely while audio continues to play. Is anyone else having this issue? Does anyone know how to fix this issue??

    Try booting into the Safe Mode to see if the same problem occurs.  Shut down the computer and then power it back up. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application unistaller. For each disable/delete, you will need to restart if you don't do them all at once.
    Safe Mode
    Safe Mode - About

  • Audio only plays when started from the beginning?

         Hi! I'm fairly new to flash, i'd consider myself a beginner, but recently i've been tasked with making an animation for someone! There is a song playing in the animation, it's a wav and it's on its own layer. There are also drawings i imported in too.
         My problem is, i want to be able to sync up the little drawings to the words of the song, but the audio only plays when i start at 0 on the timeline. If i were to start at let's say frame 24, it won't play. Does anyone know how to fix this? This commission needs to be finished by Wednesday and it's a S L O W process, having to start it over only to hear like one or two words later on

    change the sync property (in the properties panel after clicking the keyframe where your sound starts) from event to stream.  retest.

  • FLVs won't play when fully loaded (but do play while still loading?)

    With the new flash player (10,1,82,76), my FLVs won't play when they are fully loaded. Previous versions had no problems.
    Curiously, they will play if I click the play button while they are still loading.
    Any ideas are greatly appreciated!

    Well, I found a workaround. If I use myflvplayer.seek(0) before calling myflvplayer.play(), it will work since I am not allowing users to pause.
    Lame.

  • Audio keeps playing even when move away from slide

    I am using Captivate 5 and have incorporated TTS voiceovers. I have an introduction slide where a voice gives the scenario, with back and next buttons. The Next button goes on to a demonstration (part of the same project) with a different voice narrating. The demo screens have a button to exit the demo at any time also. If a user is playing the scenario and selects the Back button, the second voice from the demo continues anyway, even though the demo hasn't displayed. By the same token, if you start working through the demo and exit from it using the button provided, the voice continues as if you play the rest of the demo, even if you have moved onto different slides. If you start a second demo, both voices play at the same time. I tried using the check box to turn off audio when button clicked, but that actually turns off the audio on the computer and either no audio is heard at all then, or it just turns off for that slide, then the next slide's audio plays, regardless of what screen is displayed. How do I make the audio stop if I exit the slide or slide sequence (project)?

    Thanks Ashwin
    I hope I have done this correctly, I have shared part of the Captivate project at https://acrobat.com/#d=wxfp*GeqGu-77HjzL1DHww
    If you navigate to slide 3 of 27. Answer the question. Then, as you read the success or failure caption, you will also hear audio associated with those captions. Now, navigate to the next page before the audio has completed playing and you will also hear the audio of slide 4 overlapping.
    The audio from the success /failure captions do not stop playing when moving to the next slide. I hope there is a way around this, as I really want to have audio with the success/failure captions as well as the page audio.
    thanks
    Loraine

  • Audio keeps playing even when it doesn't show on timeline

    Right, so this is my situation. I have a piece of music (3 minutes long) and I want to use a portion of that in an animation.
    I made a separate layer for music only and added a keyframe. I dragged the music from the library on to the stage. The music worked and started playing. But I don't want to use all of it, so I made another keyframe to contain the music. The little red audio wave thing showed that it was only in between those two keyframes, but the music kept playing even after the second keyframe, despite that the audio wave ended beforehand. Even if I remove the frames after the second keyframe it still plays.
    This is what it looks like. See how before the keyframe in the middle there's a red thing indicating sound, but after it's gone. Yeah, the audio still plays after that.
    And ideas? Thanks

    click the keyframe that contains your audio (to select the audio)>in the properties panel change the sync property to 'stream'.  retest.

  • How can I control whether or not an audio files plays when a slide starts?

    I am putting together a course and have a welcome audio that plays automatically when the user begins the course. Since that slide has a list of the modules that will be in the course, I would also like to use it as one navigation option - click the "Menu" link on any slide and return to this page.
    The problem: Every time the page is hit the audio plays.
    The question: How can I set the audio so it only plays the first time the page is entered but not again?
    I have created a variable called "PlayWelcomeAudio" and set it to "Y" initially, then have an Advanced Action script that changes the variable to "N" when it is clicked (progress through the course is linear so there is only one option available to the user at this point. Clicking that link opens the next page and sets "PlayWelcomeAudio" to "N".
    I can see that the variable has been set correctly (when I start it is "Y" and when I come back it is "N") but I'm not seeing anyplace where I can set the audio file so it doesn't play.
    I tried setting cpCmndMute to "1" but that didn't work because it is apparently a global setting and I didn't get any audio playing anywhere after that.
    I'm not looking to pause the timeline or anything like that. I just want the audio to play the first time but not the second and subsequent times that page is hit.
    Thoughts? Suggestions?
    Thanks.
    Michael

    Attach your welcome audio to an object that is not seen (e.g. a highlight box set to 0%) and use your Advanced Actions and variables to HIDE this object ON SLIDE ENTER if the user returns to the same Menu slide at a later point in the course module.
    This should mean that the first time the user gets to that slide, the audio will play.  But all subsequent times they return to that slide, the object will be immediately hidden on entering the slide, which will mean that the audion does not play and all the user sees are the menu options.
    Your alternate strategy would be to have two slides that look almost the same.  The first one has the audio, and the second one doesn't.  Your TOC item for Menu, and any other links in the project that point to the Menu, would go to the second slide without audio.  The user will be none the wiser as long as you work out the navigation.

Maybe you are looking for

  • Internal Errror when saving as a png

    Hello, I use Fireworks to create a map with some special information. I have three layers, one contains the map itself (3 pictures), one contains a lot of circles (vectors, round about 40) and the third contains the additional text. Till now everythi

  • Illustrator (CS3) crashes on save

    My marketing guy called me this morning to request my help in diagnosing a problem with his Illustrator. He says he can do his work and get all the way through till he's done with whatever he's working on, and then when he goes to save it, he tells i

  • Ipad 3 has intermittent issues with airplay to airport express

    Hi I have difficulty streaming from ipad 3 to my airport express, its very intermittent. Neither my iphone or my mac have trouble

  • Backing up an external HD that's not always connected?

    I just bought a Time Capsule to backup my MacBook and an external HD. I've set up Time Machine to backup the MacBook and external HD. But the external HD isn't always connected to my MacBook. When Time Machine runs its hourly backups, if at that mome

  • Layers, not lock but can't see other layers

    I was trying a new option I read in photoshop about changing brush size by using control & option to size instead of command; bracket no problem but how do I get back to com;bracer and also what did I do because now when I open up other layers ,like