How to make a FLVplayback stop loading an FLV

Hi guys,
I am a newbie in As3, so please if you know the answer to my problem, explain it to me with a lot of details (how to write, where, what are the var to change...). I have a flash file, coded in AS3, that needs to have 4 FLVplayback movie in it. So right now, they way I did it, I have a mc on the stage with all my buttons (4) that are connected to a mc with all my vids (4 flvs). The vids in the mc are on the frame 1 - 5- 10 - 15. So when I click on the button 2 it plays frame 5 of the vids_mc. My problem is that when someone click on a button and the first movie didn't have time to finish loading, it will keep loading while the new one is loading too. At the end if someone clicks the 4 buttons, they will have 4 movies loading and after that playing at the same time. So what can I do to stop the other flvs from loading and playing every time I click to play a specific flv. Here's what I have now, it stops the sound and the movie if it's already playing, but don't stop the loading and will start to play when it's loaded even if I am watching a new movie;
btn_2.addEventListener(MouseEvent.CLICK,btn2); //this code is in the buttons mc//
function btn2(event){
if ((root as MovieClip).vids.vid1) {
(root as MovieClip).vids.vid1.stop();
if ((root as MovieClip).vids.vid3) {
(root as MovieClip).vids.vid3.stop();
if ((root as MovieClip).vids.vid4) {
(root as MovieClip).vids.vid4.stop();
(root as MovieClip).vids.gotoAndPlay(5);
Thanks in advance !!!!

http://manuals.info.apple.com/en_US/iphone_user_guide.pdf user manual

Similar Messages

  • All of my apps on my new ipad2 are not working. I had this iPad about 4 months and nothing bad has happened before this. I need help on how to make my apps stop crashing. All my built in apps are fine though.

    All of my apps on my new ipad2 are not working. I had this iPad about 4 months and nothing bad has happened before this. I need help on how to make my apps stop crashing. All my built in apps are fine though. WHATBCAN I DO TO MAKE MY APPS STOP CRASHING. I ALREADY TURNED IT OFF THEN ON AGAIN AN IT STILL CRASHES. HELPPP!!!!

    Try a reset. Hold the Sleep and Home button down for about 10 seconds until you see the Apple logo. Ignore the red slider.

  • How to make my iphone stop asking for my friend's Apple ID?

    First question: why does apple website logs me out every minute saying "session time out" or something(i'm using chrome on iPad)..!
    Second Question: why after i typed such a big question and when i switch tab and come back to this tab, the tex disappears (both chrome and safari for iPad)?
    Before going to my actual question:
    I(from USA) have an iPhone 5 and iPad 4, and bought the same for my dad(India), He has his own apple account and mine is separate.
    I've recently send the iPhone 5 (factory unlocking it for 10$ before sending it to him- I have proof of purchase for all 4 devices)  after the 5s is released.
    Third question: Why can't I add my dad's(Indian) phone number for iMessage?
    Since I used that phone with my USA SIM card for 1 day before sending it to him, it remembered my phone number, but even after trying everything except complete reset on my dad's iPhone( since he can't manage to download all apps from scratch again) and didn't get a new sim yet, we tried everything but I couldn't make the Apple ID remember my dad's phone number..!
    Fourth question: As my laptop broke, I used my friend's Mac to check the unlock is successful or not! Now when my dad tries to install an app from AppStore from his iPhone, it asks for password of my friend's Apple ID ,
    My question is how to add his phone number and how to make it forget my friend's Apple ID
    In Apple.com> manage Id> it doesn't show my friend's id anywhere. Do I need to de-authorize from his Mac?

    Hi, I've tried a reset all, and restored from another backup(iCloud) and it stopped asking my friend's Apple ID(its been two days i've restored, and my didn't complain yet).
    next, i've already tried all the steps you said.
    my dad uses his gmail account for apple devices(same id for his iPad too), and i already checked "My Phone" number is set to my dad's phone number.
    i asked my dad to turn off iMessage and Facetime, removed the sim, reset network settings and when he inserted the sim back, it shows his number, when he turns on the iMessage and  logs in using his email, it shows my phone number..!
    i went to view account, and it redirected to appleid.apple.com and i can see his phone number in the account.
    checked the location, set to India, time zone and everything looks fine.
    But the Apple ID is remembering my number instead of registering his number..!
    BTW, can you elaborate your reply for my 3rd Question.
    I've created a contact record with his name, phone number(with country code) and email addresses.
    Now what is the next step..?
    "setup phone to register with iMessage" can you explain this.
    I'm planning to remove sim in my phone, restore it to new device, setup the required softwares etc, take an iCloud back-up and ask him to restore from that backup. Since, the Apple ID doesn't know any phone number, when he inserts sim and turns on iMessage it should register the new number..!

  • How to make a video stop in flash through an external button

    Hi everyone!
    I have a little problem: I made a flash site with its
    different sections, the first of which has a movie clip which is a
    "VideoPlaylist". So inside this movie clip I have the player and
    the videos sequenced one after the other in a TileList component.
    The problem is:
    When I go to a different page, the video in the first page
    continues to play and so you can still hear the sound, AND WHICH IS
    WORSE, when you click the button to return to the first page, the
    video starts again with the sound of the previous time still
    rolling.
    The solution would be, I suppose, when clicking to any of the
    buttons that link to another section of the flash document, add
    some action script to make the video stop (having in mind that the
    video player is inside a movie clip).
    I don't know action script, just the navigation basics
    necessary for the sections. I did the videoplaylist following this
    tutorial:
    http://www.adobe.com/devnet/flash/articles/video_playlist.html
    Can anyone help me, please!!

    You better ask in the Flash forum; this is the Flash Player forum.

  • How to make J2EE engine auto load The JSP Pages

    After I modify some JSP pages, If I just copy them to  the folder in the Server, The pages didn't update.
    How to make it auto update?

    Hello Shen,
    please take in consideration, that JSP page is translated to HttpServlet  component when deployed. It's not accessed via original JSP file.
    You can try to modify the final HttpServlet class file, but then you have to go through pre-compiling.
    Hope it helps,
    regards.
    mz

  • How to make Matlab work after loading Yosemite ?

    How to make Matlab work after leading Yosemite on a Macbook pro ?

    R2014b should work with Yosemite. What version do you have?

  • How to make an effect stop and start again?

    How do I make an effect start stop and than start again?
    I'm trying to blur faces (I finally figured out how to do that---copy the video to a 2nd layer and use the mosiac and crop effects) but how do I make the effect only appear when the face is in the screen as multiple times throughout the video clip the subjects face goes off camera.  In the effect controls window it doesn't give me an option to add a blank keyframe.
    Any advice on how to have this effect start/stop multiple times in one clip??
    Thanks

    If the effect isn't keyable, try keyframing the transparency of the copy with the effects on it.

  • Re: How can make mp3 player stop after playing next one?

    Hi! I make one personal web site with mp3 player. So i list songs in table with about 20-30 players on page.
    I want when player1 works and when player2 start playing, than player1 must stop. And that must be for all players (like soundcloud).
    And also, how can i make when the song from player1 finish to start player2 automaticlly?
    This is the code (for all players is same except the id number):
    <script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript">
                                  var flashvars = {};
                                  flashvars.repeat="0";
                                  flashvars.playerID="player1";
                                  flashvars.mp3path="melz.mp3";
                                  var params = {};
                                  var attributes = {};
                                  attributes.id = "player1";
                                  swfobject.embedSWF("s5_mp3_player.swf", "player1", "500", "30", "9.0.0", true, flashvars, params, attributes);
    </script>
    <div id="players_wrapper">
      <div id="player1"> <a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /> </a> </div><br/><br/>
    </div>

    I reeally didn't understand a lot from java :/
    I´m not talking about java, but of Actionscript 3. If you have no programming experience and can`t understand the solution I linked to in my first document, this task will be too difficult for you, trust me. It`s not worth the effort to learn  all that for the only reason of
    I make one personal web site
    I also can`t imagine that anyone has already made an off-the-shelf- solution to control 20-30 mp3 players in the same application. The requirements are a bit......exotic. Sorry

  • HT1277 How to make old emails stop!!

    I'm just setting up my new Mac Book Pro, and I've already put my work email in, and recently put my personal email in as a second account. However, it keeps importing ALL the old emails and marking them as *new*. How do I make it stop? I only want my actual new emails and I don't want to wake up to 7068 'new' emails.

    Is it a POP or IMAP account?

  • My iPad is frozen with a white rotating circle in the center. How do make the circle stop rotating?

    My iPad is frozen with a white rotating circle in the center.  How do I unfreeze it?

    OK if I understand whats going on.
    You have to restore your ipad.
    If you backed it up prior to this problem you may not loose everything.
    I can tell you how to restore it.
    Hold the on/off button and the home button at the same time until the device turns off.
    Once the device has turned off without letting go of the home button release the power button and keep holding until the connect to itunes logo appears.
    It should be rather obvious now that you have to connect your iPad to the computer.
    iTunes on your computer should open automatically if it doesn't open it.
    on the side bar of iTunes your ipad should appear.
    Click on it.
    Then in the centre of the window there should be a restore and/or  restore and update button.
    Click restore.
    the rest of the instructions should appear on the screen.
    Assuming the restore was successful.
    Leave the iPad plugged in and If you backed up the iPad before it stopped working then you should see a restore from back up there if not you may have to start from scratch.

  • Revision: How to make tab control stop on a specific page upon pressing Pause?

    I have a scrolling tab which scrolls through the tab pages until the user presses Pause. That works. Now I want the tab control to stop on a specific page once the user presses Pause. How to do this?

    Well, hopefully I can give a simpler explanation of my project. There is a tab control (right now of 3 pages). I have written code which flips (scrolls) through the pages, one page per second approx. There is also a Pause button. When the user presses it, the scrolling of pages stops and whatever page is shown at the time of Pausing is the page that is viewable. So that could be page 1, 2, or 3 given when the Pause button was pressed.
    But now, I would like to implement the feature that when the Pause button is pressed the tab control, through coding, has no choice but to show Page 1 (for example) or whichever page I restrict it to.
    Actually I think I've got a idea now after typing this out, but your suggestions are very welcome!
    I've attached screenshots of my code to this reply. The first two show Case States in my code (scrolling, not scrolling) and the 3rd isof the Front Panel and the tab panel itself.
    Attachments:
    TempScrolling.jpg ‏209 KB
    TempPausing.jpg ‏194 KB
    TempFrontPanel.jpg ‏156 KB

  • How to fix Firefox when stops loading content

    Firefox has become virtually unusable for me. After a little bit of use, the program just refuses to load new content. I don't know what the issue is that's causing it but I've done everything I can to try to fix it:
    "Reset" Firefox in the Help area
    Set up a new profile
    Tried Firefox in Safe Mode
    Removed all of my add-ons
    Complete uninstall/reinstall
    Run Malware Bytes, Microsoft Security Essentials, and Spybot scans which returned clean
    Disabled hardware acceleration
    Updated all my plug-ins except Java whose website was down and wouldn't allow me to download the new version
    Tried to dump the cache by reloading using "CTL+F5"
    Manually added Firefox to Windows Firewall
    There may have been more that I've tried, but nothing is working. After a little bit of use (it's random, I haven't found a specific amount of time, tabs, websites, content, etc...), the program just refused to load new content. If I go to Facebook, it may upload a new update, but no additional images or media will load. If I open a new tab and try to launch a website, I just get the spinning circle.
    At some point, it will let some parts of a website load, but I have to let it sit a long time until it finally loads, even then, the site loads with all kinds of errors (no images, formatting is messed up, etc...).
    I have had issues with Firefox in the past and I just went to Chrome. I think the issue lies in the FF24 update because it had been working fine previously. I don't know what else to do... Any suggestions?

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: This will cause you to lose any Extensions, Open websites, and some Preferences.
    To Reset Firefox do the following:
    Go to Firefox > Help > Troubleshooting Information.
    Click the "Reset Firefox" button.
    Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    Firefox will open with all factory defaults applied.
    Further information can be found in the Reset Firefox – easily fix most problems article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • How to make a custom sequence load when a new sequence (Ctrl+N) is clicked

    Hello,
    I have certain fixed steps to be executed for many test sequences at part of Setup and Cleanup group. I have created sequences for each group(init.seq and Release.seq) and called them in another sequence (Template.seq)
    If Template.seq opens when I press Ctrl+N, reoccuring activity time can be saved.
    I have tried adding Template.seq in Template Tab but that too requires deleting MainSequence(which gets create when Ctrl+N is pressed) and then adding this Template.seq from template tab.
    You find the sequence is the attahment
    Is there is way to meet this requirement?
    Regards,
    Anand Trivedi
    Application Enigneer
    Woodward Inc.
    Attachments:
    temp.zip ‏16 KB

    Anand,
    there is no way i know of to change the New Sequence File menu bar option to spawn a custom template sequence file instead of an empty one.
    What you can do is to provide a tool you add to the TestStand tools menu.
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How to make proper page to load

    URL: www.madmoose.com
    I set this site up 9 years ago in a framset - one for the nav bar and one for the page to be viewed.  Used to be that all the browsers would load the home page when you eintered the site URL (www.madmoose.com), but when you clicked on a specific search engine result or if you typed in a specific page (Ex. "www.madmoose.com/apparel.html"), it would take you directly to that page.  Now, using the new browsers it ALWAYS loads the home page.
    What would be the simplest way to re configure the site to not always force in the home page?
    Thanks in advance for any help!

    madmoosestore wrote:
    ...but it didn't seem to change anything.
    It is probably cached in your browser. Try another browser that has not accessed the site before.
    Even with a refreshed cache, I'm still seeing a page that directs to here:
    http://www.madmoose.com/index.html?http%3A//www.madmoose.com/apparel.html
    What is that unusual URL supposed to do?

  • Just wondering how to make the brushes i load stay?? i can load new brushes and use them fine but if the computer is shut down or photoshop is closed they arent there when i re start it and i have to load re load them????????

    i think i must be doing something wrong..not saving them properly or something??..its a pain in the --- having to reload everytime

    Photoshop writes the preferences file upon exit. If you shut down your computer without properly quitting photoshop there's a chance the preferences will not be properly saved and you will be back to defaults. Always close photoshop, then shut down your computer.

Maybe you are looking for

  • Terms of Payment - advance payment 3 %

    Hi All How to configure the terms of payment for the below req. "Advance payment 3 %" Plz suggest. Regards Prasad

  • Iphone 4 unable to connect to itunes 10.5. tried the step posted by apple support. running windows 7

    after uninstall and reinstall the itunes 10.5, my iphone 4 still cannot connect and use in itunes 10.5. Pc can retrieve pic in iphone but cannot access in itune 10.5. i have tried the step posted in apple support. please help~

  • Easiest way to backup music/photos/documents?

    What is the easiest and most cost efficient way to backup all my music/photos/ and documents? I've probably got about 5-10GB. Thanks.

  • Complicated, help syncing...

    Here's my predicament: My current computer runs Microsoft Office 2003 w/ Outlook. I have all my contacts/calenders/e-mail on that program.My new laptop is coming in early July [before iPhone 3G comes] and is coming with Office 2007, but its the Home/

  • Telnet in UNIX throug a socket

    I am trying to connect using a socket to a server running unix OS. The code uses the class Socket with this directive. Socket sock = new Socket(servername,23); BufferedInputStream in = new BufferedInputStream(sock.getInputStream()); //and then i star