Stop the flv playback when you exit the current image

I searched countless forums (here and other sites) and have yet to find the solution I'm looking for (if all goes well, if it exists).

I have an flv file is loaded by the flv playback component.  Everything works except that the video (and audio) continue to play even after you leave the frame on which is the instance of the component.

I found a solution that stops the audio using: SoundMixer.stopAll ();

But the video is still streaming and affect the performance of the site.

I want to stop the audio and video, which means using the: playbackInstance.stop ();

However, all of the solutions I've met basically say to add the stop function to all buttons that potentially could borrow the framework with the instance of reading.

This seems completely tedious and bulky, especially because I have visible navigation buttons from my 'main' swf and MULTIPLE instances of reading I have are found within a swf loaded with its own navigation as well.  By the nature of the design, instances of reading will not always be on the scene calling references will probably trigger errors.  Of course, there are ways to do this with conditional statements, etc.  But it just seems like a waste of time.

Is there a simple way to call playbackInstance.stop () to navigate away from the current image?  An event to listen to?  I forget one obvious answer?

I really want to think that there is a more elegant solution than adding so much in bulk to each eventHandler for button on my site.

Add an event listener for the removedfromstage event.

Tags: Adobe Animate

Similar Questions

  • Satellite A100-049 - how can you stop it turn on when you open the lid?

    I don't see any option to stop this in the BIOS or otherwise but it annoyingly turns on when you open the lid. I stopped it turn off when you close the lid, but prefer that he remained turned off when you open the lid.

    Any ideas?

    Hello

    I assume you are using the Vista operating system.
    Have you checked the Power Options OS located in the control panel? Do it!

    But a question; Why you use n t stop him if you n t want to turn on the laptop by opening the cover.

  • Flash 11.8 beta crashes when you exit the full screen

    Flash 11.8 beta plugin crashes when you exit the full screen.

    * The crash of the plugin that brings in ComodoDragon 26.2.2.0 and Firefox21.0

    * The accident occurs in Flash 11.8 beta only

    * Flash Player 11.7.700.202 not crushed.

    * The accident happens on Wndows7x64 and WndowsXPx32 as well

    Steps to reproduce:

    1. install the Flash Player 11.8.800.50

    2. run ComodoDragon 26.2.2.0 or Firefox21.0

    3 open http://www.youtube.com/watch?v=55s3T7VRQSc

    4. click on the icon at the bottom right of the video fullscreen

    -observe the Flash video becomes fullscreen mode

    5. press ESC to exit full screen

    -observe the Flash pluin crashes

    Actual results:

    The Flash plugin crashes

    Expected results:

    The Flash plugin should not fall down.

    The video should play continue.

    Hi, it is already known.

    https://Bugzilla.Mozilla.org/show_bug.cgi?id=869838 = adbe 3556886

    https://Bugzilla.Mozilla.org/show_bug.cgi?id=772097 = adbe 3550712

  • What does offline or online when you say: servicing an image Windows 7 to add the new application online? and what is the difference between the online and offline maintenance image

    What does offline or online when you say: servicing an image Windows 7 to add the new application online? and what is the difference between the online and offline maintenance image

    Your question it will be better answered in forum Windows 7 installation and deployment on TechNet:

    Windows 7 installation, Setup, and Deployment Forum

  • When you buy an extended image lisence adobe stock can I use it as the back ground for a mail announcing who will be on the first page of my business profitable online store?

    When you buy an extended image lisence adobe stock can I use it as the back ground for a mail announcing who will be on the first page of my business profitable online store?

    Adobe Stock license allows you to use your assets anywhere in the world, and the license never expires. You can use the assets, in print, presentations, Web sites and even on social media sites. However, you may not distribute digital assets by posting it online or in any other way that would leave other people to use the assets without permission it is.

    from there:

    Royalty-free images, pictures and graphics. Adobe Stock

  • Hello, I created an application of DPS, and I want that when you click on an image, it opens a pdf file. But this one is on the ipad.  This is where there is no internet connection.   Thank you.

    Hello

    I created an application of DPS, and I want that when you click on an image, it opens a pdf file. But this one is on the ipad.

    This is where there is no internet connection.

    Thank you.

    Put the PDF file in a file HTMLResources.zip.

  • LabVIEW application crashes when you exit a VI with one or several clients on remote control

    Hi all

    This is the question that I met with LabVIEW 8.2 and LabVIEW 8.6. I publish one of the screws dynamically launch my application as a Web page. Then I load the application and launch this dynamic VI and connect to this VI by using a web browser from a PC intranet. Then if I try to exit from VI when the client is still connected to it, the application crashes. Please see the attached picture.
    This behavior occurs randomly. Sometimes, everything works as expected when you exit the VI - the main screen of the application appears and in the client side, there is a "remote connection Panel is closed.
    What could be the reason for this?

    Thank you
    Luxama

    Oops... The method of 'Close links' to work correctly. I apologize for the error.

    Regarding the issue of application crash, I did this close relationship, then wait a few milliseconds and then quit the VI. Today, the application seems to work very well.

    In the meantime, I had another doubt. Is there a way to link to the application instead of a VI?

    Thank you
    Luxama

  • My editing in Adobe animate CC don't show me the current image, frame rate, or give me playback options.  How can I enable that?

    Hello

    My editing in Adobe animate CC don't show me the current image, frame rate, or give me playback options.  How can I enable that?

    Thanks for any help you can offer. I'm off to work, but you come back tonight.

    Julie

    screenshot.jpg

    Hello

    Can you please scale your system to 100% in the Panel text and see if that helps?

    Thank you!

    Mohan

  • trigger events based on the current image of the flash animation

    I have a Director with video qt project where are trigger actions based on specific times in the video (movietime and/or duration). I update this project in order to use flash instead of quicktime video.

    To facilitate the development and coding changes minimal if all goes well, I would like to keep this similar functionality, but I can't figure out how to capture the current image of the flash movie sprite.

    Can anyone help? or provide a workaround solution?

    I can't figure out how to capture the current image of the flash movie sprite.

    You were near. Try one of these:

    put sprite("flash").currentFrame
    -- or
    put sprite("flash").frame
    
  • Dynamic text box to show the current image not workng

    Please could someone help me. I wish that my area of dynamic text to display the current image of roots. I triedthis with no luck

    frameNumberText_txt.text = currentFrame;

    I'm pretty sure that the problem is because the field requires a string value. I'm not sure how to do that heh

    Try...

    frameNumberText_txt.text = String (this.currentFrame);

    This assumes that the textfield object lives on the root timeline.  If that's not solve it, and you get an error message, include the error message in your ad.

  • When you try to export images of Photos, I get an error message saying that I am unable to do it because I need an internet connection. That I have. Any ideas?

    When you try to export images of Photos, I get an error message saying that I am unable to do it because I need an internet connection. That I have. Previously, I was able to simply select, make drag & drop in a folder open access to change. Any ideas?

    When you try to export images of Photos, I get an error message saying that I am unable to do it because I need an internet connection.

    Could something intercept Internet to iCloud photo library and cause delays? A firewall or Antivirus filter?  Have you recently installed software?

  • How can I stop and then resume when you use the magnetic Lasso tool?

    CS4 on Mac. I have some fairly complicated selections to make and the magnetic lasso tool seems a good choice. However: How can I stop and then resume when in use? For example, I would like to zoom, start by dragging along the edge, then stop, move the image to a different area of it is in the middle of my screen, then pick up again where I left.

    Hi MarieMeyer,

    You can press the SPACEBAR shortcut to activate the hand tool temporarily once you are finished with the selection on a part of the image.

    Then, move the image with the key space key and let it continue with the selection by using the magnetic lasso tool.

    You can use the SHIFT key to add to the selection by using the magnetic lasso tool.

    Kind regards

    Claes

  • HIW do Ae to remove the cache automatically when you exit the application?

    Hello

    AE accumulate tons of HARD disk as cache memory space, and sometimes I overlook the fact that I often have to erase it. Is there a way to make Ae delete the cache on the app to quit smoking?

    Thank you!

    Hussin

    You can set AE to use less space on the hard disk for its cache. I wouldn't delete it if you don't have to since it allows to work with projects more quickly when you open them again.

  • 10.1.7 Adobe will not close in the Task Manager when you exit the program. High CPU

    Hello

    10.1.7 updated and I noticed that when you close the program, an instance of acrobat remains open in the Task Manager with the use of high CPU 50% +. Close any, unless you complete the task. If you open adobe still a new instance opens again consume more cpu and paralyzes the machine with high CPU. It's on computer 64-bit win 8. The work of previous 10.1.6 liberation for a while on the same machine without any problems.

    Thanks in advance

    How to restore for me

    1.

    Uninstall Acrobat X

    2.

    Used my initial installationfile for AcrobatX 10.0.0

    3.

    Downloaded for ftp://ftp.adobe.com/pub/adobe/acrobat/win/10.x/ 10.1.5 update

    List of compatible updates can be found here. http://helpx.Adobe.com/Acrobat/release-note/release-notes-Acrobat-Reader.html

  • Qosmio x 770 - 11 c - brightness changes when you exit a game

    I'm pretty sure that the brightness increases when I leave a game and returns to the desktop.
    He is always on the highest definition anyway,

    then why does go even more brilliant (which is very nice, the whites look nice), I would have preferred to keep it at the level of brightness, which when I exit a game if it's possible.
    Or if someone can guide me through the process to make sure that I actually use brightness max.

    I currently use only not my battery?
    That you have something to do with it? 3D? NVIDIA Control Panel?
    It is a very niche problem, and I am probably wrong.

    But if anyone has any help it will be much appreciated.

    Hello

    > I'm pretty sure that the brightness increases when I leave a game and returns to the desktop.

    In most of the games settings, you can set the brightness just for the particular game.
    But if you quit the game, the brightness of the screen would be back to the same parameters that you assigned in the Windows power settings.
    In addition, the brightness can be changed using the FN + F6 or Fn + F7 key

    In addition several GPU nVidia supports of NVIDIA PowerMizer Mobile technology.
    SmartDimmer NVIDIA is part of the NVIDIA PowerMizer Mobile Technology package.
    martDimmer can intelligently vary the brightness of the backlight of the screen of your laptop in order to maximize the battery life.
    Maybe the SmartDimmer causes this different brightness.

Maybe you are looking for