Need stop playback of a component FLVPlayback leave what page!

I have a movieclip playing as auto start on the first page of my site.  The d.c. component of play when I leave the page.  How can I stop the movie playback if it has not completed when left navigation page is called.  I look and am unable to find such an event, using a FLVPlayback component.  Currently, there is no code in actionscript to display here.

Thank you

If I understand what you're trying to do, the following code is much more effective. Could be even better:

stop();
import flash.events.*;
import flash.display.*;
import fl.video.*;
import fl.video.FLVPlayback;

vTinesDayBtn.addEventListener(MouseEvent.CLICK, moveToFrame);
engageBtn.addEventListener(MouseEvent.CLICK, moveToFrame);
weddingsBtn.addEventListener(MouseEvent.CLICK, moveToFrame);
birthsBtn.addEventListener(MouseEvent.CLICK, moveToFrame);
bDaysBtn.addEventListener(MouseEvent.CLICK, moveToFrame);
graduBtn.addEventListener(MouseEvent.CLICK, moveToFrame);
annivBtn.addEventListener(MouseEvent.CLICK, moveToFrame);
spEventsBtn.addEventListener(MouseEvent.CLICK, moveToFrame);
memorialsBtn.addEventListener(MouseEvent.CLICK, moveToFrame);

vTinesDayBtn.targetFrame = 20;
engageBtn.targetFrame = 25;
weddingsBtn.targetFrame = 30;
birthsBtn.targetFrame = 35;
bDaysBtn.targetFrame = 40;
graduBtn.targetFrame = 45;
annivBtn.targetFrame = 50;
spEventsBtn.targetFrame = 55;
memorialsBtn.targetFrame = 60;

function moveToFrame(e:MouseEvent):void {
     if(vidPlay) vidPlay.stop();
     gotoAndStop(e.currentTarget.targetFrame);
}

Tags: Adobe Animate

Similar Questions

  • stop editing the page warnings when you leave the page

    My browser Safari keeps harassing me with warning on saving the changes when I leave a page or a saying that you need to return the information to another page. How can I stop these warnings.

    Bob,

    I see that you have a problem with the Safari browser, which is an Apple product.

    You need access to this page: Apple Support for Safari

    See you soon ~!

  • Media center stopped playback recorded movies

    Media center stopped playback recorded movies

    Hello, boy H

    We need more information, on the right, click on the event and select copy > copy the information in the form of text, then paste it here.

    This has started recently or has it been the ongoing problem?

    If the latter, try to perform a restore of the system when he worked: http://windows.microsoft.com/en-US/windows-vista/What-is-System-Restore

    David
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Stop the spread w / component events VidPlayer

    Hello

    I have a problem with the propagation of events when using the flash video player

    I tried several methods to stop the player, before submit here - but nothing I have tried seems to work

    The example is displayed at http://64.50.167.136/~natures/NaturesReflections.html

    The scenraio is:

    Loads of great site - keys work correctly

    When the fourth button is click - it loads a frame with an embeded FLV Player

    (the default video Flash Player uses when you import the video into the SWF)

    Once the fourth box click on (System coloring Cheetah)

    The video starts to play

    When you click on any other button

    The video continues to play

    The embeded video clip is named Film1

    and I tried to use move1.stop ();

    but who stops the entire swf

    Any suggestions on how to stop the movie - when we click on another button?

    Thank you for your time and attention

    COde used for the buttons:

    btn1_mc.addEventListener (MouseEvent.MOUSE_DOWN, bhp1DownHandler);
    function bhp1DownHandler(event:MouseEvent):void {}
    gotoAndStop (15);
    }

    btn2_mc.addEventListener (MouseEvent.MOUSE_DOWN, bhp2DownHandler);
    function bhp2DownHandler(event:MouseEvent):void {}
    gotoAndStop (16);
    }

    btn3_mc.addEventListener (MouseEvent.MOUSE_DOWN, bhp3DownHandler);
    function bhp3DownHandler(event:MouseEvent):void {}
    gotoAndStop (17);
    }

    btn4_mc.addEventListener (MouseEvent.MOUSE_DOWN, bhp4DownHandler);
    function bhp4DownHandler(event:MouseEvent):void {}
    gotoAndStop (18);
    }

    Don't embed your flv in your swf file.  Add a component flvplayback to your image where you want the flv file to display, assign it an instance name (say flv) and use:

    FLV.source = "pathtoyourvideo. FLV ';

    and, in the case of publication for fp 10, use:

    flv.unloadAndStop ();

    When about to exist that govern.

    in case of publication for fp9, use:

    FLV. Stop();

  • Windows Media Player 12 will stop playback automatically at the launch of compatible webcam app or video game

    It seems to be a logic in WMP 12 which automatically stops playback of video or music when another process wants to play another video or audio stream. Music playback stops when I run a video game, and a lot more annoyingly, it stops whenever I have a video stream that is played in Flash Player in my browser. I can't find the relevant controls in the options of WMP.

    Is this really a WMP feature that cannot be disabled?

    I use AMD / ATI drivers with transcoding video installed, can it be a cause?

    Hi Lucas,.

    You can try changing the settings in exclusive Mode:

    1. Right click on the speaker icon in the notification bar.
    2. Select the playback device
    3. Select your device and click Properties
    4. Select the Advanced tab
    5. Deselect the options in exclusive Mode
    6. Click apply
    7. Click OK

    Let us know if that helps.

  • I just copy a file by ctrl + c then I'll stick with ctrl + v, that after I copy the file (b) by ctrl + c and paste ctrl + v and once again if I need to paste everything first: to leave what shortcut I use

    I just copy a file by ctrl + c then I'll stick with ctrl + v, that after I copy the file (b) by ctrl + c and paste ctrl + v and still, if I need to paste everything first: to leave what short cut I have we

    On Mon, 24 Sep 2012 15:49:08 + 0000, ajay8055 wrote:

    I just copy a file by ctrl + c then I'll stick with ctrl + v, that after I copy the file (b) by ctrl + c and paste ctrl + v and still, if I need to paste everything first: to leave what short cut I have we

    You can't do it without third-party software. Just go back and
    Copy the file (a).
    Ken Blake, Microsoft MVP

  • Amazon Server related and how to post video Code of nodejs component on the landing page?

    Hello

    I want to organize my component and php files on an amazon Ec2 server instance then I'll have to install Apache and NODEJS times in the Amazon Ec2 Server Instance?


    my components are developed in nodejs. configuration page is in PHP.


    How do I post HTML and video embed code of my component to the landing page?

    My components are developed in PHP and NODEJS.


    Thank you

    All the information you need can be found here http://topliners.eloqua.com/community/code_it/blog/2012/01/24/building-cloud-components-the-provider and here on The Eloqua Platform - building A Resource Guide in the section components of cloud.

  • Run a process when you leave a page

    Hello

    Is it possible to run a process when the user leaves a page?

    Let me explain:

    On a page, I have an automatic processing of the line (DML) and a process of PL/SQL. These two processes are running when users click on the apply changes"" button.

    Is it possible to run these two processes ALSO when user leaves the page (click on another tab)?

    I want to do this to make sure that the changes are saved, even if users forget to click on the button "Apply Changes".

    Thanks in advance for your help.

    Have you looked into using a pl/sql dynamic action page unload event?  I've never tried, but if you set the item values in the first stage of dynamic action and then run a pl sql routine that mimics the DML, it can work.  Given that the action would fire after each unload page, probably also needed validation to provide he fire during normal processing.

    Ricker

  • Truncate a collection when the user leaves the page

    Hello


    I need to truncate a collection when the user leaves the current page and navigates to any other page in the application.

    The only way I can think is the execution of the APEX_COLLECTION. TRUNCATE_COLLECTION (collection_name) in the onLoad of each page section. I have about 100 pages. I would add this process on each page?
    Is there a way I can truncate the collection when the user leaves the page?

    Thanks in advance,
    Dippy

    Fisher,

    You can create an application process in shared components, type your pl/sql code within the process and give the appropriate condition so that code is applied to all pages in the application.

    Check out this link.
    http://download.Oracle.com/docs/CD/B31036_01/doc/AppDev.22/b28550/BLDR.htm#BABJDICG

    In case you, I think you need an application process with
    On Submit: After presentation, Page - after calculations and Validations.
    Make sure you that you specify a larger sequence number so that this process be completed after all of them are made.

    Or if you want that the process of running before the loading of each page, you can use
    On load: before the header (page header Template). develop process for the application process.

    Since it is a part of the shared components, this code is executed for every page, and therefore the collection would be deforested as where you want to.

  • Firefox crashes whenever I try to leave a page to a different site.

    It seems to happen only when I have more than one tab open, but everytime I try to leave the page initially opened, it crashes. This just started today (03/19/14) and I tried to reset Firefox but it did not remedy the problem.

    This kind of accident is caused by trusteer report, please see if you can solve it by updating the program to its latest version (it should be a fix available soon) or other Dungeon it disabled for support of trusteer the moment and contact: www.trusteer.com/support

  • In Yahoo Mail, when you compose an email I get a Panel "asking to leave this page. It does not matter that I choose to stay or leave, the Panel will appear again... and again... the only way is to force enough Firefox and start all over... help please...

    In Yahoo Mail, when you compose an email I get a Panel "asking to leave this page. It does not matter that I choose to stay or leave, the Panel will appear again... and again... the only way is to force enough Firefox and start all over... help please...

    Some extensions or toolbars can add such a report.

    It can also be part of the code on a page to prevent dataloss if you began to type text (composing a new mail) and you try to close this tab.

    You should be able to close this report and close the active tab.

    What I posted above is applicable to all platforms, including Mac.

  • the new firefox open my home page in addition to the start page of firefox, everytime I open firefox. How can I stop this and make sure ONLY my home page shows?

    the new firefox open my home page in addition to the start page of firefox, everytime I open firefox. How can I stop this and make sure ONLY my home page shows?

    Delete the USER. JS file if there is (some plug-ins create in addition to prefs.js).

  • How to stop bookmarks appear in a column on each page?

    How to stop a column of bookmarks indicating on each page. Waste of space.

    The sounds you have bookmarks open bar.

    You can enable or disable the bookmarks bar via view > sidebar > Favorites or Ctrl + B.

    Press F10, or press the Alt key to bring up the 'Menu Bar' temporarily if the menu bar is hidden.

  • Installing the card Point 2011 stops because the prerequisite programs moved. What should I do?

    Installing the card Point 2011 stops because the prerequisite programs moved.  What should I do?

    Hello

    Check with the help of MapPoint and in the MapPoint Forums.

    Highway, Streets & Trips, MapPoint - Forum
    http://social.Microsoft.com/forums/is/streetsandtrips/threads

    MapPoint - Support
    http://www.Microsoft.com/MapPoint/en-us/support.aspx

    Support for MapPoint, streets & trips and Highway
    http://support.Microsoft.com/ph/851

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • The mouse to stop that rises to the top of the page when I scroll to the bottom of the page

    How can I get my mouse to stop that rises to the top of the page when I'm scrolling down the page?

    my mouse

    Hello
     
    • What version of the Windows operating system do you use?
    • Do you use the computer laptop or desktop?
    • This happens to you while you browse Internet only?
     
    I suggest you run this fix and check.
    Open the hardware and devices Troubleshooter

Maybe you are looking for

  • Component of the malfunction on Qosmio G35

    Hi all, I'm really happy that I found this forum. I have a G35 AV600 running Xp and my component out (tv-Out) has just stopped working on me. Button works, I see a few changes in the display of the external monitor. And the Svideo works with the TV o

  • mDNS 65549 answering machine Service error

    I've had a problem for several months now with my devices not appearing is not in NOR-MAX. After studying the problem, I found that the ' charger OR ' assistance is not put on because the mDNS Responder Service Gets a 65549 error when Windows starts.

  • Help for Starter fuse

    I try to install the fuse. I got a SanDisk Flash drive in one of the card slots. I put the fuse of disc in the drive. He did not run. My computer does not now recognize the CD drive. When I take the Flash drive, the name of the CD player goes. When I

  • Enter the password of administrator or power on password

    Hello world I have a HP G72 laptop model. When I start my laptop it invites me to "Enter password or power on password" but I didn't put a password. Could you please help me understand? As read previous posts regarding this type of questions, I walke

  • Smartphones blackBerry with GPS problems

    Hello I have problems with applications that use the gps with my bold 9780, I'm in os 6 v. 0.0.285 GPS location that works as when I update location in gps options I have the new values for latitute and longitude, although satellite number is zero an