Making my animation stop looping (it should be really simple, right?)

I am trying to achieve a simple thing really; I have made an animation and want it to stop looping at the end.
A quick search of the internet reassured me that this is simply a matter of putting in a stop(); command in the script. Great!
Errr.. no.
Here is what I did:
I created a new layer for my script and called it 'Actions'
selected the final frame of the Actions layer and added a keyframe
selected said keyframe and opened windows->Actions
typed in stop(); and closed the window.
Ok, so that apparently is all there is to it. Only, when I test the animation it doesn't move at all. it seems that the stop command executes right at the beginning and is constant throughout the whole timeline.
Also, I noticed that the Actions layer has a small white circle/dot on frame 1 and on the final frame also. There is no small letter 'a' that should be there on the final frame, but I don't know why.
So, what am I doing wrong?
I realise that if I am struggling to do such a simple task it doesn't bode well for any further learning of actionscript. Which is a shame.
Any help would be great, thanks.
Andrew

What you describe should have worked, but you might have mis-stepped as well.  Try having the Actions window opened before you select the frame and type stop(); and leave it open afterwards as well for when you test.  As soon as you enter some code in a frame it should display the lowercase "a", so your best bet is to keep trying it different ways until you see that.  As I said, the way you describe it is legit, but what you might have done in following what you say might be off.

Similar Messages

  • I am making an animation(frames) on Illustration but im having a problem.

    SO Im making the frames for my animation on illustrator - im making 8 frames per artboard. (im gonna have around 450 frames)
    But i have to put each frame in Photoshop - the size of a6 paper (making a flip book too) .
    But its takes so long to put each frame into photoshop and then i have to save it which also takes ages ?????????????
    Is there any fast ways to do this?
    PLease  if  you know a way you will save me soooo sooo soo much time.

    Sorry i did no explain my self.
    I am making a animation (stop-motion with type)
    I am making the frames on illustrator - i make 8 frames on one art board at a time.
    I then takes those frames i made ( each frame is a word blending in to each other) Ie  'Memory' into 'of'  Happy into Sad.  so its takes 8 frames to do that.
    I then copy and paste each frame/word into photoshop so i centre the frame/word so the animation will be more smooth . But there will be aout 500 frames and it takes ages.
    I was wondering is there a faster way to do this.
    I not to familar with Illustrator . rememeber i got 8 frames that have to be saved separtly on illustrator at a time !!!
    Thanks Monika

  • Animated Gif won't stop looping!

    I'll try to format my question as best I can.
    I have created a Java chat applet, and for the Java chat, I have created a "ChatPane" class for displaying the chat. ChatPane is an extension of Canvas, and every time the paint() method is called, the program loops through visible lines of text drawing them on a buffer image, then draws the buffer on the screen.
    My problem lies in animated gifs. In my chatroom, chatters can type textual symbols that will be replaced with an image (or emoticon). I have created my animated icons in a popular animated gif editing program, and I have set particular icons to loop 3 times. The problem is that when the animated icon is displayed in my applet, the animation -doesn't stop- after 3 loops, it loops forever! I can't for the life of me figure out why! Can anyone provide any insight as to why the animations won't stop after 3 loops? The animations work just fine if displayed in a browser by themselves (they stop looping after 3 times)
    Thank you for any help!
    [email protected]
    Tony N.

    From what I understand of your problem;
    - You have made your own animated gifs
    - With the software to make these gifs you have set them to loop their animations 3 times
    - They loop continuously
    I don't see how java can be expected to interpret the animated gif software instructions to loop only 3 times and would assume that there are various proprietry ways of setting this (an assumption based on applets /javascript etc, that rely on the client-side browser interpreter). So, if you loop your animated gif or have any form of animated gif that you import into your program with getDocumentBase /getCodeBase as a (pre-animated) gif, then this is exactly what I would assume would happen.
    The answer is to seperate your images with eg;-
    smiley1[0];
    smiley1[1];
    smiley1[2];
    run a seperate thread, cycle through them as you wish and stop.
    I'm fairly sure that there is nothing in either the swing libraries or the jmf libraries that can resolve this any other way, so your choices are write extra code and have a pool of threads to control this, or leave it as is.

  • Stop Looping in SWF Loader

    Hi i'm new to AS, I am trying to use the AS3 Loader class to
    pull in a SWF file that should only play once.
    How do I get this thing to stop looping?!
    Code is below.

    you must explicitly stop the video stream. if you're using
    the flvplayback class to start the video's play, you'll need to
    apply the stop() method to that class instance.
    you can access the main timeline of your external swf by
    referencing the content property of your loader (and casting that
    as a movieclip). from there, use the path to your flvplayback
    instance and apply a stop() when the playheadPercentage of your
    flvplayback instance reaches 100.

  • Animation Stops Briefly

    Hi. On rollOver a button it tells an MC to play. This MC has
    a sound on a layer. However on(rollOver) the button it takes a
    while to play the MC with sound when it should be immediate. Why
    does this happen and how can it be fixed?

    I'm having this problem too and couldn't find a solution yet... Using an animated symbol with a video, syncronised together in my project. When I change browser's tab, video continues to play but symbol animation stops and it continues to play only when I switch back to edge tab. So there is no more sync. between two elements... and this is realy boring. Any ideas with this?? Please help, thanks.

  • Animation to loop 60 frames  in 24 hours

    I want to create an animation to loop 60 frames  in 24 hours and then pass on the following second day  repere
    (script)  thank you for helping me

    Sorry - bit sleepy when I last posted.
    If you want to have the SAME loop week after week, use
    on exitFrame me
       dString = the long date  -- "Friday, 25 October 2013"
       loopMarker = item 1 of dString  -- "Friday"
        go marker (loopMarker)
    end
    Make sure your markers match the first item of dString.
    If your French date string doesn't have a comma after the name day, or has a different layout, adjust "loopMarker =" accordingly

  • When I try to update my apps on my MacBook Pro, Ipad, and Ipod it wont allow me. On the computer it says theres and error. (11111) But on the Ipod and Ipad it starts to update and completely stops. What should I do?

    When I try to update my apps on my MacBook Pro, Ipad, and Ipod it wont allow me. On the computer it says theres and error. (11111) But on the Ipod and Ipad it starts to update and completely stops. What should I do?

    Maybe this.
    Fix iPhone Apps Stuck "Waiting" During Installation
    Try update the apps one at a time

  • My charger doesn't want to plug in to the phone,it suddenly stopped working.What should I do?, My charger doesn't want to plug in to the phone,it suddenly stopped working.What should I do?

    My charger doesn't want to plug in to the phone,it suddenly stopped working.What should I do?, My charger doesn't want to plug in to the phone,it suddenly stopped working.What should I do? iPhone 5

    Clean the lint/debris from the charging port and plug the cable in.

  • Every time I connect my ipod touch 4th gen. it says this accessory is not supported by ipod touch so people recommended me to just buy a new charger, so i did, but the night before i got my new charger it stopped charging, what should i do now?

    every time i connect my ipod touch 4th gen. it says this accessory is not supported by ipod touch so people recommended me to just buy a new charger, so i did, but the night before I got my new charger it stopped charging, what should I do now?
    also my power button does not worked it got stuck so therefor it doesn't work, are there any ways i can help it get loose and working again?

    Not Charge
    - See:      
    iPod touch: Hardware troubleshooting
    - Try another cable.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar                 

  • HT201376 I've erased and formatted the hard drive accordingly in order to reinstall OS X. everything went fine until about half way through the install. it just seems to stop. how long should this take? should i do something else to speed it up?

    I've erased and formatted the hard drive accordingly in order to reinstall OS X. everything went fine until about half way through the install. it just seems to stop. how long should this take? should i do something else to speed it up?

    About all you can do is wait until it finishes or you get an error message.

  • A link from my animation is locked inside the dimensions of the original animation.  the link should

    Thank you sincerly for any help in advance.
    A link from my animation is locked inside the dimensions of the original animation.  the link should go to new url but opens in i frame instead, scroll-able, within the dimensions of the beginning edge animation from which it linked.
    Here is the landing page edge asset and the link is the center pulsing sand grain:
    http://kkz321.businesscatalyst.com/index.html
    Here is the actions javascript file from the animation.  I'm not sure if it's the source. 
    "landing_hourglass_3_edgeActions.js"
    (function($,Edge,compId){var Composition=Edge.Composition,Symbol=Edge.Symbol;
    //Edge symbol: 'stage'
    (function(symbolName){Symbol.bindElementAction(compId,symbolName,"${_landing_sand_grain}", "click",function(sym,e){window.open("http://kkz321.businesscatalyst.com/welcome.html","_self");});
    //Edge binding end
    Symbol.bindElementAction(compId,symbolName,"document","compositionReady",function(sym,e){$ ("#Stage").css("margin","auto")});
    //Edge binding end
    })("stage");
    //Edge symbol end:'stage'
    })(jQuery,AdobeEdge,"EDGE-landing_hourglass_3");
    Here is snippet of CSS from main css page:
    #EdgeIDlanding_hourglass_3 {
              margin-right: auto;
              margin-bottom: auto;
              margin-top: 5%;
    Here is snippet of HTML from main START INDEX page:
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Kinetik Artz  Work By Michael Schmidt</title>
    <link href="/Stylesheets/main.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <object id="EdgeIDlanding_hourglass_3" type="text/html" width="222" height="454" data-dw-widget="Edge" data="edgeanimate_assets/landing_hourglass_3/Assets/landing_hourglass_3.html">
    </object>
    </body>
    </html>
    Thank you very much for any help

    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Kinetik Artz  Work By Michael Schmidt</title>
    <link href="/Stylesheets/main.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <object id="EdgeIDlanding_hourglass_3" type="text/html" width="222" height="454" data-dw-widget="Edge" data="edgeanimate_assets/landing_hourglass_3/Assets/landing_hourglass _3.html">
    </object>
    </body>
    </html>
    remove the width and height out of the html object ( width="222" height="454" )
    that would probably solve it
    or change it to the pages width and height

  • After four months my Imac hard drive suddenly began making very audible noises.  What should I do?  audible noises.  What should I do?

    After four months my Imac hard drive suddenly began making very audible noises.  What should I do?

    Back up your system, make a Genius Bar appointment and take it in. If it's 4 months old you are still on warranty, let them fix it.

  • Animation stops in the middle when preview in browser

    I have run into a problem where the animation stops in the middle when I preview it in browser, but it is fine when I play it in the program. Please advise how to fix this problem. Thank you very much.
    Ramon

    I've had this problem with a purchased song but never a ripped song. I think its an encoding problem with iTunes. One poster suggested converting the song, which kind of tells us that its something to do with the encoding. I can't remember the song that this happened with, some Tom Petty tune. But I do remember this, which is strange, this happened on my Touch but not the iPhone with same song.

  • How do I prevent my Mac Pro from  hanging up in a start/stop loop?

    My Mac Pro has a strange behavior I need help with. This computer is used almost exclusively for audio recording in my studio. I run Cubase 4 as my primary sequencing software. Everything will be going fine during a session, and then the software will abruptly hang up in a *start/stop loop*, stuttering back and forth between these two functions for up to 2 minutes before stopping. During this loop problem, the start/stop transport buttons alternately light up and the song starts and stops. Nothing I have tried will interrupt the problem. It just runs its course and then stops, usually between 30 - 90 seconds.
    Interestingly, the same behavior shows up in other applications and in the Finder. In Quicktime and iTunes, it shows up as a start/stop loop. In the finder, it will shuttle back and forth between two related functions and beep each time. In word, it will show up as a key stick, typing the same letter over and over.
    Needless to say, this is all very frustrating and embarrassing when clients are here. Any help will be greatly appreciates. Let me know if you have any additional questions.

    I'd begin with repairing your drives with Disk Utility and Disk Warrior; clone your system to another drive, and check for corrupt files and prefs.

  • Has anyone else's weather animations stopped moving??

    Has anyone else's weather animations stopped moving?? I have just upgraded to the iPhone 6 Plus with IOS 8.1.

    They updated the Reduce Motion setting in Accessibility to reduce that. See if you have that turned on.

Maybe you are looking for

  • Error coming while creating STO

    Dear All / MM consultant, while creating stock transfer through tcode ME21N  , we are getting one error message "date 1,245 is not convertible".i checked all the possible way.I could not  found from where this error message is giving. This is happeni

  • Issues with Exporting to Report Definition File

    Post Author: dcasper70 CA Forum: Exporting We just notices a strange thing happening when exporting to a report definition file.  Hoping someone can explain it and/or offer us some kind of solution.  We're currently about 25 deep into an extensive do

  • Redirect or submit

    I have a page that is rather heavy to load (has 2 fairly large queries that are the source of 2 report regions). One of the regions returns rows that contain an href that takes the user to a second page where some data is displayed.Now the user may g

  • BAPI to upload marketing attributes to BP

    Hi Gurus, I have a requirement in which I need to create a BP first and then add marketing attributes to it.Right now I am using FM CRM_MKTBP_CHANGE_BP .But the performance is very poor and it is taking a lot of time.Is there any standard BAPI which

  • Non-Global-zones information

    from where  can i download the zonestat utility, somebody can help me, i need to know the information about my non-global-zones but the zonestat utility isn't isntalled