Stopping .flv when you navigate in AS3

Hello all, hope this is the right spot for this, I'm hoping to get some feedback. From now on, I'm trying to teach myself actionscript 3 and goes crazy over a problem with a video .flv I can't stop.

The problem I have is that I can't do video (a .flv within the "FLVPlayback" component set as a clip) stops when browsing in another tab to navigate away from and back to my page/video image even translates to 2 audio streams playing simultaneously. I think that the problem lies with me being not able (or how) to identify the video/film clip with "(name)".stop ();

Anyone on the ROCK with AS3 knowledge who can help me?

Here is the source file (the first navigation tabs and the last on the left are completed, the video is on the last tab) SOURCE:

http://Oron.com/hyxk9b4qzp41/overclocking.zip.html

and my code (all my references to the FLVPlayer/video were wrong so I removed to try again).


Play();


import com.greensock;
com.greensock.easing import. *;
Caurina.transitions import. *;

var i1: number = 119;
var i2: number =-425;
i3 var: number =-969;

the buttons var: Array = [imgb1, imgb2, imgb3];

for (var i: int = 0; i < buttons.length; i ++) {}
Buttons [i] .addEventListener (MouseEvent.Click, Navigate);

}

function navigate(event:MouseEvent):void {}
switch (event.target) {}
case (imgb1): setTween (i1);
break;

case (imgb2): setTween (i2);
break;

case (imgb3): setTween (i3);
break;

}
}
function setTween(tweenX:Number):void {}
Tweener.addTween (imgsc1, {x: tweenX, time: 1, transition: "easeInOutCubic"});
}


var menu_items:Array = [b1, b2, b3, b4, b5];

for (var a1:int = 0; a1 < menu_items.length; a1 ++) {}
menu_items [a1] .addEventListener (MouseEvent.ROLL_OVER, overHandler);
menu_items [a1] .addEventListener (MouseEvent.ROLL_OUT, outHandler);
menu_items [a1] .addEventListener (MouseEvent.CLICK, clickHandler);
menu_items [a1] .buttonMode = true;
}

function overHandler(e:MouseEvent):void {}
TweenLite.to(e.currentTarget,1.35,{x:0,ease:Circ.easeOut});)
}
function outHandler(e:MouseEvent):void {}
TweenLite.to(e.currentTarget,1,{x:-265,ease:Circ.easeOut});)
}

function clickHandler(e:MouseEvent):void {}


B1.addEventListener (MouseEvent.MOUSE_DOWN, md1);
function md1(event:MouseEvent): void {}
gotoAndPlay ("scene1");
}


B2.addEventListener (MouseEvent.MOUSE_DOWN, md2);
function md2(event:MouseEvent): void {}
gotoAndPlay ("scene2");
}

B3.addEventListener (MouseEvent.MOUSE_DOWN, md3);
function md3(event:MouseEvent): void {}
gotoAndPlay ("scene3");
}

B4.addEventListener (MouseEvent.MOUSE_DOWN, md4);
function md4(event:MouseEvent): void {}
gotoAndPlay ("scene4");
}

B5.addEventListener (MouseEvent.MOUSE_DOWN, md5);
function md5(event:MouseEvent): void {}
gotoAndPlay ("scene5");
}

email.addEventListener (MouseEvent.MOUSE_DOWN, em1);
function em1(event:MouseEvent): void {}
gotoAndPlay ("emailscene");
}
}

No, not "ignore this error.

use:

{if (VIDEO1)}

VIDEO1. Stop();

}

p.s. Please mark this thread as answered if it works for you.

Tags: Adobe Animate

Similar Questions

  • Computer stops responding when you navigate on the web

    Recently, when I was browsing the web, my computer began to crash for long periods of time. The strange thing is that it only happens when I use Chrome 17 or 12 of Firefox. When I use Internet Explorer 9 I have no problem. The 'freeze' happens randomly on any web page, when I click to scroll down or click on a web link. The browser becomes unresponsive, followed by the bar spots and the office. I just have to wait for five minutes. I don't like to use Internet Explorer; I find much slower in performance compared to Chrome.

    I use a Mobile Broadband, manufactured by ZTE, Vodafone Dongle to connect to the internet. I run the operating system of Windows Vista 64-bit Service Pack 2.

    Unless Microsoft has started making chrome and Firefox work does not correctly if you use IE, I'd appreciate any help.

    Hello

    I suggest you to contact the support of Google Chrome and Mozilla Firefox support for better support on the issue.

  • Computer stops automatically when you access internet using Chrome or Mozilla

    I'm having a problem with my computer. I use Windows 7 Professional. The problem is that when I use Chrome or Mozilla, the computer stops after a while (20-30 minutes) and when I use Internet Explorer, the computer hangs after 1 or 1/2 hour and then I have to restart my computer.

    Original title: computer shuts down automatically

    Hi Ashhadkhan,

    Have you made changes on the computer before this problem?

    Method 1:

    I suggest to start the computer in safe mode with network and try to access the Internet using Firefox or Google Chrome.

    Step 1:

    Check out the link to start in safe mode with networking

    Startup options (including safe mode).

    http://Windows.Microsoft.com/en-in/Windows7/advanced-startup-options-including-safe-mode

    Step 2:

    If you are able to access internet using Firefox or Google Chrome without the computer stops, I suggest you perform a clean boot.

    See the link to perform the clean boot.

    How to perform a clean boot in Windows

    http://support.Microsoft.com/kb/929135

    Note: After troubleshooting, see the section «How to reset the computer to start normally after a boot minimum troubleshooting»

    For any problem, with the freezing of the computer when you use Internet explorer:

    Crashes Windows or freezes

    See (my computer crashes or freezes when you navigate in Internet Explorer) http://support.Microsoft.com/kb/2681286/en-us

    Anti Virus Disclaimer : The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Additional information:

    You can also check the following links, these will help you improve the performance of your computer.

    Optimize Windows to improve performance.

    http://Windows.Microsoft.com/en-us/Windows/optimize-Windows-better-performance#optimize-Windows-better-performance=Windows-7

    Important: Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    I hope this helps to solve the problem. Please come back for any clarification on this or any issue of Windows. We will be happy to help you.

  • pause a video (phone.flv) when you change views of component

    I'm trying to pause a video (phone.flv) during the change of views component via the main menu bar. There is a concrete example of what I'm speaking in the Flex store demo; If you start the phone demonstration video (ProductSupport.mxml) and then leave this component for the HomeView video component continues to play. However, if the video is on the main component of the application (flexstore.mxml), for example, where the ViewStack navigation and ToggleButtonBar exist then it is possible to pause the video using:

    Import mx.events.ItemClickEvent;

    private void clickHandler(event:ItemClickEvent):void {}
    VD.pause ();
    List.Visible = true;
    }

    I want to be able to do is to get the video to pause when I pass ProductsView (ProductSupport.mxml) component (where the video is embedded) to the component HomeView. Any ideas on how this can be done?

    Thank you

    I'm assuming that by break, you mean for the video to stop playing when you change tabs (video flexstore 'support' default behavior is to continue playing even when the view has changed, not very friendly). Or do you mean a break in the literal sense so that you can return to the same place in the video when you have selected a different tab?

    If this is the first case, specify a FocusEvent within the ProductSupport.mxml, so that when he loses focus when you select another tab, she calls it simply a Manager to stop the video. I have not looked at the code Flex store in detail, so your mileage may vary:

    http://www.Adobe.com/2006/mxml '.

    paddingLeft = "4" paddingRight = paddingBottom '8' = '4 '.

    horizontalScrollPolicy = "off" verticalScrollPolicy = "off" creationComplete = "addFocusListener (); » >

    import flash.events.FocusEvent;
    private void addFocusListener (): void
    {
    addEventListener (FocusEvent.FOCUS_OUT, stopVideo);
    }

    private void stopVideo(event:FocusEvent):void
    {
    If {(vd.playing)
    VD. Stop();
    List.Visible = true;
    }
    }

    ... rest of the code in ProductSupport.mxml

  • Explorer Windows has stopped working when you click FLVfile

    http://go.Microsoft.com/fwlink/?LinkId=104288&clcid=0x0409

    Explorer Windows has stopped working when you click FLVfile / video clip downloaded by REALPLAYER

    Hello

    What version of the windows operating system is installed in the computer?

    I suggest you to see link and check. (That applies to windows vista and windows 7)?

    Error: Windows Explorer has stopped working

    http://support.Microsoft.com/kb/2694911

    Note: After checking in the clean boot, follow step: 7 article to reset your computer to normal startup.

    Note that it takes as much time to do the upgrade as to reinstall the operating system. In addition, some of your custom Windows settings may be lost through this process.

  • blue screen STOP 0x0000007B when you try to install Windows XP

    I replaced my SATA hard drive with a new and tried to load my Windows XP disc. Error message Stop came

    The message was:

    "Stop :) X0000007B (0XF78D2524, 0XC0000034, 0x00000000, 0x00000000) it says to check for viruses and remove all new hard drive. It is a new hard drive. What I can do. Thank you

    Hi Pete Hegs.
     
    Try the methods listed in the section below to resolve this issue:
     
    Additional reference on:
  • How to remove white screen when you navigate from one page to another in Webworks BB?

    Hi all

    I have developed a web application for Blackberry using Blackberry webworks SDK... I created the package using emulator Ripple... In that when you navigate from one page to another page... coming white screen... How to remove this white screen... and instead of the definition of the loading screen in web application... Please me... Thank you very much in advance...

    With respect,

    Marimuthu_P

    normally it is not a white screen to navigate. You can view data-bb-effect as "bland" for the transition to the screen:

    https://github.com/BlackBerry/bbUI.js/wiki/screens

    second thing, is to use the activity indicator for loading (pending content):

    https://github.com/BlackBerry/bbUI.js/wiki/activity-indicator

  • The Setup program stops working when you try to uninstall the installer of qwest

    the Setup program stops working when you try to uninstall the software

    the Setup program stops working when you try to uninstall the software

    Hello

    Try uninstaling with revo uninstaller (download the trial for the link.)

    link

    Use the advanced uninstall, method, delete the associated files and reg keys.

    Good luck

    Chyavan

  • How do I ignore the cloud authentication when you navigate from Saas to JCS - SX

    Hello

    I have deployed an ADF application into JCS - SX and try to open the link from the fusion applications. I pass in parameter JWT for authentication. But when you navigate to JCS - SX, it requires identification of cloud (username and domain) information.

    A user of the application not having the titles of cloud, so how can a connect on application of sx jcs?

    Is it possible to ignore these credentials that I'm browsing to saas to saas sx?

    Thank you
    Malenfant.

    If the objective shared identity I think that the feature is not yet available, but GA is soon. If its just simply disable authentication (make the public page for the Internet), then you can disable it with the login-config element.

    --

    Jani Rautiainen

    Relationship with the developers of Applications in fusion

  • AS3: How an instance of flvplayback stop playing when you leave its frame in the timeline?

    I created a small theatre program and it is working very well, but I cannot for the life of me understand why it works without additional code.

    I have a timeline with frames 5 and last 4 executives have a different instance of an animation flash (flvplayback) in them: all of them charge a different movie as its source and I don't give instance names to one of them.

    To get to one of these frameworks, there are 4 buttons and the eventlistener to click a button calls a function that specifies which image to go to and stop at the.  Since each flvplayback has autoplay set to 'true', the movie starts to play when you enter its framework.  If I click a different button to get a different picture, this first film stops play and the video in the 2nd starts frame.  I have not any actionscript in saying the first movie to stop and I can't find anything in the AS3 reference that suggests that the flvplayback component could work this way.  Why didn't I tell an flvplayback instance programmatically to stop when I'm out of its frame in the timeline?

    Thank you

    Sean

    If you leave its framework there are more.  But from other postings I've seen, people most often ask why he always plays because they can hear the continuous sound even if they left the frame.  I think in your case what could have to do with you based on components in the adjacent blocks, such that you essentially load a new source in the player.  There is an anomaly MNI Flash where if you place instances of the same object in adjacent frames, the latter inherits the properties of the former, essentially becoming it.  Then you fall into this scenario where essentially the same player is told to change what he is playing.  You could try to stagger the instances with empty frames between and see whether you get similar results.

  • Blue error screen "Stop 0x0000003E" when you install SP2 to Vista

    Error blue screen "Stop 0x0000003E" appears when you try to install Windows Vista Service Pack 2 or Windows Server 2008 Service Pack 2 on a computer with certain multiple processors

    * original title - Vaio VGN-Z870TG appears fornuis Al este error referred al Windows Vista cuando Máquina opera en Windows 7__¿Que debo hacer? *

    Applications, (Norton and McAfee) are known to not uninstall (or upgraded) themselves.

    1. download the Norton Removal Tool, save it to your desktop: ftp://ftp.symantec.com/public/english_us_canada/removal_tools/Norton_Removal_Tool.exe

    2. close all open applications (that is, anything with an icon on the taskbar).

    3. click right on the file saved in #1 above, and then select run as administrator to run the utility. DO TAP not your keyboard until the race ends, then restart.

    4 reset the IE8 advanced settings by http://windows.microsoft.com/en-US/windows7/Reset-Internet-Explorer-settings

    5. open IE8 32 bit (only) to http://support.microsoft.com/kb/971058 & run it in DEFAULT and modes difficulty then AGGRESSIVE. [1]

    6. restart a last time & test.

    ~~~~~~~~~~~~~~~~~~~~~~~~
    [1] full Disclosure: the difficulty operating in AGGRESSIVE mode will remove your update history but not the list of installed updates.

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • SE error message "Windows Explorer has stopped working" when you click on network and sharing Center

    Original title: Windows Explorer has stopped working when I click on network and sharing and also...

    Hello technical savvy people!

    Windows Explorer stops working when I click on network and sharing, and also when I click on system.

    -Otherwise, I rarely get this little automatic.
    But when I do she translates these windows endangered; and then I can't find my connection to the local network, or my IP address,
    nor know how my system!

    Can you suggest healings?
    Thank you for your attention,
    marlem388

    Hello

    Were there any changes (hardware or software) to the computer before the show?

    Perform the steps from the link below and see if it helps.

    Error: Windows Explorer has stopped working

    Hope this information helps.

  • Family using in Windows Vista Premium 32 bit, I have error "host of transformation for Windows has stopped working" when you turn on the PC.

    Original title: Windows Vista 32-bit Edition home

    Family Windows Vista Edition using 32-bit - receive the following error message when you turn on the pc.

    HOST PROCESSING FOR WINDOWS HAS STOPPED WORKING.

    Nobody knows what's happening with pc or how that I should do to fix this problem.  Any help or advice will be

    appreciated.

    Thank you

    EJ

    Hello

    1. you remember to make changes to the computer before this problem?

    Method 1:

    If a Protection of resources Windows (WRP) file is missing or is damaged, Windows may not behave as expected. Auditor of file system (CFS) scan to fix all of the corrupted system files. To do this, follow the steps mentioned in the link below:

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

    Method 2:

    Put your computer in a clean boot state and then check if the problem persists

    Follow step 1 in the link.
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    If everything works well after a clean boot, you can deduce that some third-party services are at the origin of the problem.

    Continue with the remaining steps to pin-point on the third party service.
    After find you the program that is causing the problem, you will have to perhaps to update or install a newer version of the program, if you rarely use that you should consider uninstalling the software.

    Important: n ' forget not to put the computer to a normal startup follow step 7 in the link.

    Method 3:

    The issue might be related to malicious software, I wish that you run a full scan using your security software or run a scan using the Microsoft Safety Scanner.

  • How to stop overprints when you type a new email

    How can I stop Overstrikes when creating a new email

    Hello
     
    1 e-mail are. what customer you referring?
    2. the problem occurs in a particular e-mail client?
     
    Your question does contain all the required information necessary for us to help you. Please re - write your question, this time make sure you have all the information necessary and we will try to help.
     
  • Windows Movie Maker 6.0 Vista immediately stops working when you try to open.

    Hello!

    I've been all around the internet trying to solve this problem, but nothing has worked so far.  When I try to start Windows Movie Maker 6.0 for Vista, (in general), it stops working at their opening saying the following:

    "Windows Movie Maker has stopped working".

    There has been a few times when it actually opens and I can work on my videos, however, it's very, very, rare and seems to happen randomly.

    I tried to open in safe mode, but it still fails to open.  I also tried to open .avi short and simple with WMM 6.0 files to see if it will be open, but that, generally, does not either.

    Once, I was able to open random and I have disabled all the filters on the Compatibility tab and temporarily activated only video filters that I needed.  That seemed to fix the problem for several days, and I could open Movie Maker 6.0 several times.  Sometimes it would freeze everything and save, or stop working when importing video files, but at least it would be open.  I was able to record some videos.  After a few days, my computer day and WMM 6.0 is more open more.  I don't know if yes or no update is the reason why Movie Maker 6.0 started crashing again, but it was the only thing that has changed on my computer while I could uncheck the Compatibility tab filters and open WMM 6.0. [Could uncheck all filters to be part of the problem?]

    I usually works with .mov files, and I read on how this type of file sometimes causes problems with Windows Movie Maker.  However, the problem normally occurs when I try to open the program (and if WMM opens, I can very well change .mov files).  I do not think that the file type is causing the crash, but I guess that's always a possibility...

    I also read that sometimes Windows Movie Maker 6.0 for vista doesn't work with all computers that have vista installed, and Windows Movie Maker 2.6 must be used to place.  Windows Movie Maker 2.6 is working fine on my computer, but it cannot change the .mov files, or record in HD.  I had horribly degrading the quality of the video with the conversions of files to use WMM 2.6.  Windows Movie Maker 6.0 is much better, on the rare occasions that it works.  Do you think I should use Windows Movie Maker 2.6 now?

    Here are two problem reports that appear more often when you try to open Windows Movie maker 6.0.  The window of support almost always said I need to update my computer again (even if there is no new update), or that it is a problem of security Data Execution Prevention.  Windows Movie Maker cannot be added to the list of exceptions to Data Execution Prevention, or I can check to see if the filters from the Compatibility tab are always disabled in the program, I don't know how to solve this problem...

    -----------------------------------------------------------------

    Signature of the problem
    Problem event name: BEX
    Application name: MOVIEMK.exe
    Application version: 6.0.6001.18341
    Application timestamp: 4ad5c77d
    Fault Module name: StackHash_6f96
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 00000000
    Exception offset: 0378415b
    Exception code: c0000005
    Exception data: 00000008
    The system version: 6.0.6001.2.1.0.768.3
    Locale ID: 1033
    Additional information 1: 6f96
    More information 2: 39ee662180b2f2ed5cfc67e5914ae855
    Information additional 3:6366
    Additional information 4: 8328a225406b340b1b7b5f591aa5688c

    Additional information about the problem
    Bucket ID: 1197617492

    -----------------------------------------------------------------

    Signature of the problem
    Problem event name: APPCRASH
    Application name: MOVIEMK.exe
    Application version: 6.0.6001.18341
    Application timestamp: 4ad5c77d
    Fault Module name: StackHash_1703
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 00000000
    Exception code: c0000005
    Exception offset: 032e41a4
    The system version: 6.0.6001.2.1.0.768.3
    Locale ID: 1033
    Information additional 1:1703
    More information 2: 2264db07e74365624c50317d7b856ae9
    Information additional 3:1344
    Additional information 4: 875fa2ef9d2bdca96466e8af55d1ae6e

    Additional information about the problem
    Bucket ID: 1909412930

    -----------------------------------------------------------------

    The "BEX" error happens much more frequently than the "APPCRASH" error  In addition, I have Windows Vista home premium installed and a 32-bit operating system.  I don't know how to read the problem reports, or if it's all the information you need.  I'm not very good with computers at all the... Any help and ideas would be greatly appreciated!

    Thank you!

    Very often, but not always, Code exception: c0000005 is a permissions access error, so have you tried right-clicking on the MM shortcut or .exe and selecting the option "Run As Administrator"?  Other times a reinstallation of the program crash can fix.  As you can not do with Movie Maker the next best option is to try the System File Checker.

    How to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista
    http://support.Microsoft.com/kb/936212/#appliesTo

    Have you tested another user even if you need to create one to do this?

    Try running ChkDsk to check your drive for errors. Right click on your drive icon / properties / tools / error checking.  Try first by checking do not each box (that it will run in read-only mode) to see if it reports any problems file or hard drive.  If so, restart it by checking both boxes and restart to allow him to attempt to fix any problems found.

    See how many unsigned drivers, you have running on your computer.  This article will guide you on the instructions, but all you need to do is type sigverif in start run.

    How to identify unsigned with sigverif utility in Windows Vista drivers
    http://www.WinVistaClub.com/F34.html

    Vista Movie Maker DEP Fix
    http://www.YouTube.com/watch?v=tkpURM4FFt0

    In the fix above which is sometimes, but not always with success, it is suggested to leave it on the AVI decompressor.

    There are a few suggestions that Nero is a problem if you run that at all?

    Windows Movie Maker has stopped working
    http://blog.SteveX.NET/2006/11/Windows-Movie-Maker-has-stopped-working/

    If a piece of software can crash Movie Maker may be other software can do, then try Movie Maker in a clean environment, without other software running.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/default.aspx/KB/929135

    http://www.Google.com/search?q=Movie+Maker+DEP+Vista&RLS=com.Microsoft:-AU & ie = UTF-8 & oe = UTF-8 & startIndex = & startPage = 1

Maybe you are looking for

  • The 'recently opened pages' button is gone. How do I get it back?

    There was untril very recently a 'Recently-but' (or more 'frequently-access') button at the top left of the screen. That's gone - it was very helpful and I would like to get it back.

  • How to install Windows XP Home on a Qosmio X 500?

    Hello I find windows 7 especially frustrating so I want to dual-boot with Windows XP. So I tried to install XP, but I get a BSOD after the installer does its initial copy of files (before the bit where you specify which partition to install on). At f

  • 22 "- 24" monitors and XP

    Please let me know if the screen of the software will work correctly with XP - allows proportions.  Some manufacturers have dropped support of XP, this software cannot be loaded.  LCD or LED make a difference?  Thank you

  • Learn how to use encryption

    I synchronize the contents of My Documents on my computer at home with my USB and am concerned about the security of content om stick. I thought that encryption would be a solution. I created a test folder with some files which I have encrypted. Encr

  • Windows error ReportingCa

    Impossible to uninstall Roxio Creator 2010. Roxio support asked me to send them msinfo by attachment.  When I try to export msinfo, it hampers to about three quarters of the transition to Windows Error Reporting. They told me to go into administratio