Go to frame then another frame

Hi, hope youre all well!
I am trying to execute the following.
Click on button 1 - play frames 1-5, then play frame 10
click on button 2 - play frames 1-5, then 11
click on button 3 - play frames 1-5, then 12
I have got it so that they play frames 1-5 but I dont know how to type the code so that it plays a frame after it has played 1-5, Can anyone help?
Thanks in advance

you can use the function below.  it needs no changes.  to play the root timeline from 1-5, and then frame 11, use:
// the first parameter is the movieclip you want to play.  the 2nd and all even parameters are the start frames and the parameter that follows a start frame is an end frame:
playArrayF(MovieClip(root),[1,5,11,11]);
function playArrayF(mc:MovieClip,a:Array){
    var tempMC:MovieClip=new MovieClip();
    var f:Function = function(e:Event){
        if(!afterJump){
            mc.gotoAndStop(a[index]);
            afterJump=true;
        } else {
            if(a[index]<a[index+1]){
                mc.nextFrame();
            } else {
                mc.prevFrame();
        if(mc.currentFrame==a[index+1]){
            index+=2;
            afterJump = false;
            if(index>=a.length){
                tempMC.removeEventListener(Event.ENTER_FRAME,f);
                tempMC=null;
    var afterJump:Boolean = false;
    var index:uint=0;
    tempMC.addEventListener(Event.ENTER_FRAME,f);

Similar Messages

  • Trying to start itunes - message appears "APSDAEMON.EXE MSVCR80.DLL is missing.  Then another box indicates "Error 7 (Windows error 126).  Itunes will not start.  Can someone tell me what the problem is and how to fix?

    when I tried to update to the new version of Itunes - message box appears "APSDAEMON.EXE MSVCR80.DLL is missing".  Then another box indicates "Error 7 (Windows error 126)".  Itunes will not start.  Can someone tell me what the problem is and how to fix?

    Solving the iTunes Installation Problems in Windows
    1. Apple has posted their solution here: iTunes 11.1.4 for Windows- Unable to install or open - MSVCR80 issue.
    2. If the Apple article does not fully resolve the problem for you, then try Troubleshooting issues with iTunes for Windows updates - MSVCR80.

  • After enabling iCloud, the calendar on my MacBook shows a window stating "moving calendar to server account. Then a box appears saying "server responded with an error message 403. Then another box shows "couldn't move calendar to iCloud, an error occurrre

    After enabling iCloud, the calendar on my MacBook shows a window stating "moving calendar to server account. Then a box appears saying "server responded with an error message 403. Then another box shows "couldn't move calendar to iCloud, an error occurrre

    iCloud's Calendar is full of errors and problems for me.  The "Couldn't move your calendars to iCloud because an error occurred" is now gone (by itself) but nothing syncs between my Mac's Calendar to iCloud or my iPhone to iCloud.
    I tried creating a new event directly on iCloud.com to see whether it pushes to any of my device and  got this "This event couldn't be created because of a server error; please try again." error.
    Apple, please fix this!!

  • I just got the 5s, every time in try to update my apps it's asking for a second password to an Apple ID that is not mine-- it asks for mine and then another one pops up after I enter mine .what do I do?

    I just got the 5s, every time in try to update my apps it's asking for a second password to an Apple ID that is not mine-- it asks for mine and then another one pops up after I enter mine .what do I do?

    where did you get this phone from

  • VB CS4 - How send many textframe to a document to fill page and then another

    Hi,
    Sorry by my bad english, I'm using CS4 and vbscript.
    Need to take information from several fields in a database and send it to an Indesign document. Progressively fill a page and then another.
    How do you add a textframe automatically for each field and the pages needed.
    With my current code, I can put a box on every page. But I want to put the text fields below and once you fill the page, switch to another.
    Thanks.
    Jorge
    Current code:
     For i As Integer = 0 To myDataSet.Tables(0).Rows.Count - 1myPage = myDocument.Pages.Item(i + 1)
    myTextFrame = myPage.TextFrames.Add
    Dim myArray1 As String() = {"4p", "4p", "60p", "20p"}myTextFrame.GeometricBounds = myArray1
    myTextFrame.Contents = myTextFrame.Contents + (myDataSet.Tables(0).Rows(i).Item("name")).ToString + vbCrmyTextFrame.Contents = myTextFrame.Contents + (myDataSet.Tables(0).Rows(i).Item(
    "adress")).ToString + vbCrmyDocument.Pages.Add(idLocationOptions.idAfter, myDocument.Pages.Item(i + 1))
    Next

    The Quiz Results slide's Continue button actions are set under Quiz Preferences > Pass or Fail > If Passing Grade etc. By default, the Continue button is set to just continue on to the next slide after the Quiz Results.
    After the user clicks the Continue button on the Quiz Results slide any Pass/Fail actions you've set up there will be evaluated and executed.
    So if the user achieved a passing score, and you set up an action such as Go to URL in Current Window for that case, then the user should find themselves redirected to that URL.  If there was a different action for Failure, and the user failed, then that should happen.  But either of these will only happen after the Continue button is clicked.
    I tested this by setting www.google.com as the go to URL and it worked.  To see if the URL is the issue, try using another URL that you know everyone can get to.  If that works, try to find out why the URL you want to use is not working.  If no URL works, something else is interfering with the action.

  • Hello, I was wondering if anyone can tell me how to fix my itunes. When I was trying to download the new 1114 version, a window popped up saying R6034 C runtime library was incorrectly loaded. Then another window said iTunes not installed properly

    Hello,
    I was wondering if anyone can tell me how to fix my iTunes. When I tried to update to the latest version (1114) a window popped up saying R6034 C runtime library incorrectly installed. Then another window popped up saying that iTunes was installed incorrectly Error 7 (windows error 1114). Hope you can help.

    Solved the issue without using the trash . I tried to consolidate the library in LACIE, then clicked on any exclamation-mark song and tried to locate the file. Repeating those steps 3 or 4 times cleared it up. That was confirmed when I synced the entire library on a iPod Classic, and showed up no problems after syncing the Nano.
         What went wrong was perhaps to fail to consolidate the library at first .

  • HT1349 my itunes on my laptop (not a mac) has an error message that reads "the procedure entry point_objc_load_image could not be located in the dynamic link library.objc.dll"  then another window will come up telling to to uninstall the apple mobile and

    my itunes on my laptop (not a mac) has an error message that reads "the procedure entry point_objc_load_image could not be located in the dynamic link library.objc.dll"  then another window will come up telling to to uninstall the apple mobile and itunes and reinstall them?  will this delete everythin in the itunes account?  please help

    This might help https://discussions.apple.com/thread/5821701

  • Buring a DVD now and then another one a week later. What is the fastest

    Buring a DVD now and then another one a week later. What is the fastest way to burn the second copy? I thought maybe burn to image but that doesn't seem to make a DVD that plays when you put it into a DVD player. Is "Save as video_ts folder" the best way? When I go to do a regular burn it wants to encode everything each time unless I do all my copies right away. There is zero help in iDVD's help.

    You can copy a disc image to a physical DVD with Apple's Disk Utility, but I prefer Toast.
    Re Video_TS folders: This folder is the guts of a DVD, but the option is more advanced than I am. Toast can handle these folders, and lets you add DVD-ROM content subsequently (but you can add any files to the DVD-ROM area of a DVD from within iDVD). Toast is also able to compress large Video_TS folders to better fit on a DVD (so that could be useful). The Help function in Toast was the source for this info.
    John

  • HT4236 When I am syncing one albumn and then another the previous synced photos gets deleted why is it so?

    When I am syncing one albumn and then another the previous synced photos gets deleted why is it so?

    That is how it works. Synced photos can't deleted directly on the iPad, instead that are deleted by not including them in the next photo sync - so you need to select and sync all the photos that you want to remain on the iPad on each photo sync

  • HT4743 When I try to buy a tv episode, it comes up with a message "problems communicating with itunes store, try later"  click ok and then another messge comes up to verify payment info online. Everything is correct.  Why won't it let me buy??

    When I try to buy a tv episode on apple tv, it gives me a message of "problems connecting with store, try again later".  I hit ok, and then another message comes up to go online and verify payment information.  I have done that, all info is correct.  Why won't it let me purchase?  This has been going on for days.

    I figured it out!
    I read a solution for something that sounded similar.
    Anyone in similar position:
    Open iTunes app on iPhone, and pick an option from bottom, such as music. Then scroll down to bottom of page and where your iTunes ID is, press on it, and pick sign out.
    Then return to home screen, and double press home button and press and hold on first icon showing, until a minus symbol appears in the top left of icons present. Press on each minus symbol on each app in turn, until all app icons have disappeared. Then Restart the phone by pressing and hold the home button and the on/off/standby button at top of phone, until the apple symbol appears in centre of blank screen.
    Swipe to turn phone fully on and open settings and scroll down to iTunes and apps option and tap that. Pick sign in and put in your apple ID, it will accept it and then return to home screen and open iTunes a you'll find it works fine
    Simple really, but some like me won't think f this themselves!
    Hope that helps

  • Received request to upgrade firefox, then another request to install a computer stabilizer something and I accidently pressed install which happened in an instance, but it was not the upgrade..what was it? I am worried

    I had been having difficulty watching an SBS video online,
    it was not functioning properly so I closed firefox and restarted twice. Then received the upgrade message so decided to upgrade
    ticked upgrade then a message came to install some sort of computer stabilisation thing, really I thought it was a part of the upgrade so touched install and whatever it was came in very quickly. Then the firefox installation was there to install and I did not continue because I was worried about what exactly I had installed.

    I have had a similar problem with my system. I just recently (within a week of this post) built a brand new desktop. I installed Windows 7 64-bit Home and had a clean install, no problems. Using IE downloaded an anti-virus program, and then, because it was the latest version, downloaded and installed Firefox 4.0. As I began to search the internet for other programs to install after about maybe 10-15 minutes my computer crashes. Blank screen (yet monitor was still receiving a signal from computer) and completely frozen (couldn't even change the caps and num lock on keyboard). I thought I perhaps forgot to reboot after an update so I did a manual reboot and it started up fine.
    When ever I got on the internet (still using firefox) it would crash after anywhere between 5-15 minutes. Since I've had good experience with FF in the past I thought it must be either the drivers or a hardware problem. So in-between crashes I updated all the drivers. Still had the same problem. Took the computer to a friend who knows more about computers than I do, made sure all the drivers were updated, same problem. We thought that it might be a hardware problem (bad video card, chipset, overheating issues, etc.), but after my friend played around with my computer for a day he found that when he didn't start FF at all it worked fine, even after watching a movie, or going through a playlist on Youtube.
    At the time of this posting I'm going to try to uninstall FF 4.0 and download and install FF 3.6.16 which is currently on my laptop and works like a dream. Hopefully that will do the trick, because I love using FF and would hate to have to switch to another browser. Hopefully Mozilla will work out the kinks with FF 4 so I can continue to use it.
    I apologize for the lengthy post. Any feedback would be appreciated, but is not necessary. I will try and post back after I try FF 3.16.6.

  • I recently updated my iTunes to version 10.3.1.55 and when i launch the program it says 'iTunes has stopped working' then another window pop up saying me to close program.HELP!!! ME PLEASE!!

    ok i installed new iTunes version 10.3.1.55 and when i launch itunes it says 'iTunes has stopped working' i get to my problem history this is whay i found
    Problem signature
    Problem Event Name:          APPCRASH
    Application Name:          iTunes.exe
    Application Version:          10.3.1.55
    Application Timestamp:          4deec351
    Fault Module Name:          MediaToolbox.dll
    Fault Module Version:          1.0.694.7
    Fault Module Timestamp:          4ddeb575
    Exception Code:          c0000005
    Exception Offset:          00250000
    OS Version:          6.0.6002.2.2.0.768.3
    Locale ID:          1033
    Additional Information 1:          fd00
    Additional Information 2:          ea6f5fe8924aaa756324d57f87834160
    Additional Information 3:          fd00
    Additional Information 4:          ea6f5fe8924aaa756324d57f87834160
    PLEASE HELP ME!!!!

    Fault Module Name:          MediaToolbox.dll
    Fault Module Version:          1.0.694.7
    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. Now head into your Uninstall a program control panel, select "Apple Application Support" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post:
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever since I did that my itunes won't open any more.  Itunes starts but before anything loads a window pops up saying that the prograam has encountered a problem and sh...

  • HT1925 I am having an issue with loading Itunes. I receive a missing dll file notice. Then another error message. I have reinstalled Windows & still get the error. I did not get the error until I recently did an ITunes update.

    I am having an issue with ITunes after a recent ITunes update. I can not open ITunes, I get a message missing MSVCR80.dll file, Then an error 7 message. I have redone the OS for Windows 7 and restarted the computer. I keep getting the errors.

    Do the following:
    Uninstall from Windows the following five programs: iTunes, Apple Software Update, Apple Mobile Device Support, Bonjour and Apple Application Support. You do this from an applet in Control Panel called Programs & Features (in Windows 8, 7, or Vista) or Add or Remove Programs (in Windows XP).
    Download the latest version of iTunes from Apple and note the location you're saving it to so you can find it once it's done.
    Run the iTunes installation as an administrator, just Right click iTunes installer and Run as Administrator.

  • I have iphone 3gs, while connecting, it shows sync in progress, then in my pc shows backing up step 1,2,..5, then message comes itunes stopped working-windows checking for solution. Then another message comes that "A problem caused the program to stop wor

    When i connect my iphone 3GS to my PC, while syncing in progress, pc shows backing up, preparing to sync. Then message display "itunes stopped working",
    windows checking for solution, Then message comes "A problem caused the program to stop working correct. Windows will close the program and notify you if solution is available" , Then Itunes go off. I have tried agains installing Itunes etc no use. I am not a computer literate, help me to resolve this, Thanks

    I have already copied my photographs to the a library manager but when I tried to reuse iphoto and import the photos back into iphoto, it would not let me.
    You can't "copy" your photos to the "library manager", there is just no way to any such thing.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • TS3212 after downlaoding the latest version of itunes to my laptop, i get an error message that says itunes can't open because msvcr80.dll is not installed,then another dialogue box says please reinstall itunes error 7 (windows error 126) can anyone help?

    can anyone tell me how to get my itunes and all my music back!!!!!

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (Later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or by right-clicking the downloaded installer and selecting Run as Administrator.
    See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

Maybe you are looking for