Need to stop playback of an FLVPlayback component when navigate away from page!

I have an movieclip playing as auto start on the first page of my website.  The component continues to play when I navigate away from the page.  How can I stop the playback of the movie if it has not completed when navigation away from the page is invoked.  I have search and am unable to find such an event using an FLVPlayback component.  Presently there is no code in actionscript to display here.
thanks

Hi, this is the entire code that is placed on the timeline in frame 1 of the AS line.  There is now an error and the FLVPlayer component, which is also begin in frame 1. At this point there is one method that I thought should work when the vTinesDayBtn is clicked.  However, is not.
The error is:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at ewddSite_fla::MainTimeline/vTines()
ArgumentError: Error #1063: Argument count mismatch on ewddSite_fla::MainTimeline/stoppedVid(). Expected 0, got 1.
The code is:
stop();
import flash.events.*;
import flash.display.*;
import fl.video.*;
import fl.video.FLVPlayback;
function stoppedVid() {
  vidPlay.stop();
vTinesDayBtn.addEventListener(MouseEvent.CLICK, stoppedVid)
function vTines(evt:MouseEvent):void {
gotoAndStop(20);
vidPlay.stop();
function engagements(evt:MouseEvent):void {
gotoAndStop(25);
function weddings(evt:MouseEvent):void {
gotoAndStop(30);
function births(evt:MouseEvent):void {
gotoAndStop(35);
function birthdays(evt:MouseEvent):void {
gotoAndStop(40);
function graduations(evt:MouseEvent):void {
gotoAndStop(45);
function anniversaries(evt:MouseEvent):void {
gotoAndStop(50);
function specEvents(evt:MouseEvent):void {
gotoAndStop(55);
function memorials(evt:MouseEvent):void {
gotoAndStop(60);
//main.addEventListener(MouseEvent.MOUSE_DOWN, mainPg);
vTinesDayBtn.addEventListener(MouseEvent.MOUSE_DOWN, vTines);
engageBtn.addEventListener(MouseEvent.MOUSE_DOWN, engagements);
weddingsBtn.addEventListener(MouseEvent.MOUSE_DOWN, weddings);
birthsBtn.addEventListener(MouseEvent.MOUSE_DOWN, births);
bDaysBtn.addEventListener(MouseEvent.MOUSE_DOWN, birthdays);
graduBtn.addEventListener(MouseEvent.MOUSE_DOWN, graduations);
annivBtn.addEventListener(MouseEvent.MOUSE_DOWN, anniversaries);
spEventsBtn.addEventListener(MouseEvent.MOUSE_DOWN, specEvents);
memorialsBtn.addEventListener(MouseEvent.MOUSE_DOWN, memorials);

Similar Messages

  • How do I stop "Are you sure you want to navigate away from this page? Press OK to continue, or Cancel to stay on the current page." from comeing up. It is new. Just started doing it yesterday morning.

    I have used FireFox to play the Game Kingdoms Of Camelot, a facebook game. I also have Grease Monkey and a 3rd party add on. I leave it running 24/7 to gather food in the game for my army. It has run smoothly for 6 mo. Yesterday 2/04/11 in the morning it started asking for conformation when the page refreshed. i want to know how to stop this Box from comeing up it will not continue without refreshing and will not refresh untill th question is answered. It says "Are you sure you want to navigate away from this page? Press OK to continue, or Cancel to stay on the current page."

    You're not going to stop it, and out here, what's illegal?
    What it boils down to is a matter of ethics, and it's wrong. But the web
    techies build this feature into their sites because they know somebody
    is going to fly in off an engine like Google or MSN. And take something,
    like a picture. Without stopping in and signing up or something else.
    But what if I or you is out collecting stamps or avatars or wallpapers,
    and have already taken a quiz, or signed up for a product? I've already
    done that...but the site developers who use this ingenious(hijacking)
    software don't see it that way, and don't care if you just got a computer
    and want to pick up something here or there. Those sites don't get
    anything when you visit and don't leave your number. I don't what
    these 19 tracking cookies are for, do you?
    "A liar should have a good memory" Scottish saying

  • Navigate away from page pop up keeps game play ie collecting gifts annoying. how do u stop it?

    When playing Facebook when collecting gifts or trying to go to new game or clicking on comments or answering requests. Every click brings up this pop up becoming very annoying up dated but no help

    This issue can be caused gadgets on the Facebook page.<br />
    You will have to check that out by removing each of them until you find the culprit.<br />
    If you added or updated gadgets recently than start with those.<br />
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]

  • Do I need to stop the dbTier or/and appsTier when ... ?

    Do I need to stop the dbTier or/and appsTier when I run
    perl adpreclone.pl dbTier
    perl adpreclone.pl appsTier
    or when I copy the Source System to the Target System (for the appsTier) ?
    Thanks,
    Paul

    Do I need to stop the dbTier or/and appsTier when I run
    perl adpreclone.pl dbTier
    perl adpreclone.pl appsTierThe database and the database listener should be up and running when you run the above two commands. For the application tier, you can keep it up or shut it down.
    or when I copy the Source System to the Target System (for the appsTier) ?It is recommended you shutdown the application services when you copy the application files. Some operating systems do not allow copying file while it is in use (like Windows).

  • Im on like facebook and when i go to navigate around on the site it is asking me everytime are sure you want to navigate away from this...how do i get that to stop asking me and just go where i click

    if im on any site and i try to go to different places on that site a box pops up asking me if im sure that i want to navigate away from that site and i have to click yes before it will go to want ever i clicked on on that site. how can i get that to stop asking me every time?

    This can be caused by Facebook gadgets. You can try removing Facebook gadgets until you find the culprit. I have seen reports of various gadgets causing this such as Ginga, Facebook for iGoogle, Deal of the Day and Smiley

  • SWF in PDF stops playing after navigating away from page

    I have a PDF ebook with SWF movies embedded each movie is a music track controller that plays a track from a soundtrack to the book.
    I want readers to be able to play the tracks while they read the book.
    This works fine in Acrobat. But in Digital Editions, as soon as I navigate away from the page showing the track controllers/SWF movies, the movie/track stops playing.
    Is there any way around this? Perhaps there are technical limitations to a Flash-based app. at play here.

    Arthur, this sounds like content you've created yes?
    If it's content you're creating then I'll have to send you to Engineering via the Digital Publishing Center at
    http://www.adobe.com/devnet/digitalpublishing/.
    There's a feedback form on that page (we don't currently do any ebook dev support on this forum.. there might be a forum unique to that at some point in the future). It's not very clear, but if you send a dev question to that feedback form you should get an answer from engineering. This ONLY applies to questions about creating content for consumption in ADE 1.5.... (end user questions regarding ADE 1.5 still go through web case support at http://www.adobe.com/support/digitaleditions/)
    Regards,
    Bentley Wolfe
    Senior Support Engineer, Flash/Flash Player/Digital Editions
    Adobe

  • Why does my recording stop when I navigate away from AA3?

    I noticed recently that when I navigate away from AA3, my recording stops. This is extremely inconvenient. How do I fix it?

    Well, the first thing to do is go to Edit/Audio Hardware Setup and make sure the box beside "Release ASIO Driver in Background" is NOT ticked.
    However, when using ASIO drivers remember that you can't have mutliple pieces of software trying to use the driver at the same time.  This is a restriction of ASIO itself and not an Audition restriction.
    Bob

  • Retain value of component when navigate in Task Flow

    Hi,
    my english isn't very good
    I use jdveloper 11.1.1.3.0
    I define a bounded task flow and 3 view in this btf to show 3 page fragment. in each view I put 2 Input Text component.
    the problem is when I navigate from one view to other view and back, the value of Input Texts is reset. Input Text doesn't bind to anything.
    is any way to retain the value of Input Text and other components when navigate through views without any binding?
    Habib

    Alejandro T. Lanz wrote:
    Hi,
    One solution might be to store your values at pageFlowScope. By doing this your variables are going to be alive and with the same values as long as you are inside your bounded task flow. For example,
    You can create your Java Bean and have something like:
    String variable1;
    String variable2;
    String variable3;
    String variable4;
    setters and getters for those.
    In your fragments the values of the inputText would be #{pageFlowScope.myBean.variable1.inputValue} and so on.
    Since your bean is created once when your task flow is created (choose pageFlowScope) your variables will remain the same while your taskflow is alive.
    hope this helpsIf his components are part of view objects, this shouldn't be necessary since a submit (the navigation buttons) would do the trick.

  • Do I need rtexprvalue set to true for a String that will vary from page to page?

    Hi I am a newbie to JSP tags. I have done enough reading so far to see
              that if I want an attribute of the tag to be a scriplet ie:
              <foor:bar name="<%=myObj.getName()%>" />
              then the rtexprvalue for this attribute in the TLD needs to be true.
              My question is what if I have an attribute that will not be read from
              a scriplet but will vary from page to page. ie:
              <foo:authorize securityLevel="1"> but on another page it will be
              <foo:authorize securityLevel="3"> etc.. Since many servlet containers
              create only one instance of the tag class and then re-use them from a
              pool do I need to set rtexprvalue to true for an attribute like this
              to make sure the tag reads the correct one as I go from page to page?
              

              You do not need to set rtexprvalue to true for the situation you describe.
              Laura
              Developer Relations Engineer
              BEA Support
              [email protected] (Mike Lomage) wrote:
              >Hi I am a newbie to JSP tags. I have done enough reading so far to see
              >that if I want an attribute of the tag to be a scriplet ie:
              > <foor:bar name="<%=myObj.getName()%>" />
              >then the rtexprvalue for this attribute in the TLD needs to be true.
              >My question is what if I have an attribute that will not be read from
              >a scriplet but will vary from page to page. ie:
              > <foo:authorize securityLevel="1"> but on another page it will be
              > <foo:authorize securityLevel="3"> etc.. Since many servlet containers
              >create only one instance of the tag class and then re-use them from a
              >pool do I need to set rtexprvalue to true for an attribute like this
              >to make sure the tag reads the correct one as I go from page to page?
              

  • SetRendered(true) a component when going to new page

    Hi,
    This might be a very basic question. I want to render a panelButtonBar ini page2.jspx. now initially I have <af:panelButtonBar binding="#{docDownload.panelButtonBar1}" id="panelButtonBar1"
    rendered="false">
    This bean is in session. Now in page 1 on clicking a link i call method onload() in the same bean. This method based on the parameters I send executes another viewobject and then if(param.equalsIgnoreCase("Y"))
    panelButtonBar1.setRendered(false); ----****
    return "success";
    Its always giving me null pointerException at ****. Why. Do i need to get the context of page2. But the bean is in session.
    Thanks in advance

    Hi,
    Thanks for responding. Let me explain. I have jspx page1 which has a link calls a action method lying in a backing bean which in session scope. This bean also has getter setter methods for the components of the my jspx page2. In page 2 I have a set of buttons which is kept in a panelButtonBar which is initailly rendered true.
    On calling my action method I fetch a value from my viewobject which is either 'Y' or 'N'. Based on this I want to set the above paneButtonBar false.
    I understand now why it was null, because the components can only be accessed in request. So now what do i do. Do I put a partial trigger on the buttonbar and call back the bean to set it false.
    Thanks

  • Hi every time I navigate to a new page on facebook, I get the same confirmation message, Are you sure you want to navigate away from this page? Press OK to continue, or Cancel to stay on the current page. What I want to know is how to stop this message

    When I click on a navigation button, a message box appears asking if I am sure I want to navigate away from this page.

    This issue can be caused by Facebook gadgets.<br />
    You will have to check that out by removing each of them until you find the culprit.<br />
    If you added or updated gadgets recently then start with those.
    See:
    * [[Troubleshooting extensions and themes]]

  • How do I stop the pop-up window in Facebook that asks "Are you sure you want to navigate away from this page"

    It recently started to ask this every time I do anything on Facebook.

    Yes, this pop-up window in facebook is getting extremely annoying and most times after clicking on Ok, it will take me to a page totally opposite to where I wanted to go.
    When I chat on the Scrabble Discussion Board I have to click Ok constantly with each post even though I am not navigating away from that page but merely replying to a post on the same original page.
    It is not present on Chrome or IE 8, just on firefox, why?
    Please remove, fix, or tell me how to disable this totally useless pop-up.

  • Are you sure you want to navigate away from this page? I get this popup every minute. it's driving me crazy. How do i stop this from happening?

    This popup happens for no apparent reason. I'll just be reading an article or checking my e-mail and it pops up all the time

    Use '''Tools -> Options -> Advanced | General | Accessibility <br />''' Uncheck [x] warn me when web sites try to redirect or reload the page
    * see [[Options window - Advanced panel]]
    If that works, perhaps you will mark the problem as solved, if not post back with what problems remain; I may have misunderstood the exact problem.

  • I keep getting a confirm window that pops up and asks "Are you sure you would like to navigate away from this page?" How do I stop that window from popping up?

    this happens when i try to move around websites

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • FLVPlayback Component for AIR & IOS

    Hello,
    I have referenced this and other forums several times in regards to this question, but would like to canvas it myself here once more in hopes of any new or additional insights that were absent before.
    I am developing an AIR application that uses a long (45min) video as a centerpiece. It necessarily (I think) needs to be applied with the FLVPlayback component because it is both masked by menu and playback controls, and has a large variety of interactive content layered on top of the full-screen (more or less) video.  As of now, the video is encoded in FLV, and works fairly well, but I do have some lingering performance issues, which I am asking help with here today.
    I have read that using FLV in iOS apps is not advised, but for the reasons listed above I most likely will have to do so. I don't think I can use the other options (stagevideo, or otherwise) due to the layering of content above the video, and an irregular mask. I have placed the video in the main directory of the app package (which made all the difference), used GPU, and tweaked the encoding ad nauseam. While all-in-all it has resulted in "okay" performance, I still have a slight but noticeable skip/hiccup/jump in the video during the more graphically intense portions of the production. This only occurs on the iPhone 4/s devices, while the iPhone 5 experience is flawless.
    So I am asking for ANY help/suggestions anyone could offer towards a possible solution/improvement to this problem. I would be grateful for any other setting, encoding, file structure, or alternate suggestions that I have not thought of or addressed.
    Thank you.

    Hi Freelance77,
    The product team would like to know the steps to reproduce this issue. After that, we can try solving it for you. Do let us know.
    Thanks,
    Preran

Maybe you are looking for

  • ITunes 10.1.2 not starting after update

    iTunes will not start after being updated to 10.1.2. Also experienced internet explorer being extremely slow. Tried to repair the installation, but same result. Uninstalled iTunes, restarted the computer, and internet explorer started working again.

  • Problem in starting Integration service with DAC 11g

    Hi friends, Im @ the step of registering integration service and the repository service in DAC 11g. I can start the Repository service well in DAC, but facing issue in starting integration service with DAC, while trying to test connection im getting

  • KA790GX (MS-7551) pci-e @ X4 FAULT?

    Hello Guys. Ive just ran cpuz and It says that the pci-e link width is at x4. It should be x16 yes? Mobo=KA790GX (MS-7551) Bios version 1.6 and the gfx card is a radeon 4870.

  • WL 10.3.5 and ADF 10g - JSP Error

    I'm deploying a ADF 10g (10.1.3.5) app, into a WebLogic 11g (10.3.5), but on test all the jsp throw the same exception: <Jun 28, 2012 5:51:34 PM BRT> <Error> <HTTP> <BEA-101017> <[ServletContext@542462705[app:wl module:/siep_wl path:/wl spec-version:

  • Having trouble burning mp3 discs from media sou

    hi all is there any way i can stop mediasource re arranging a playlist when it tranfers it to the burn list. it puts it in alphabetical order, but i want it left in the order i have made the play list in. it only does this when i try to burn an mp3 c