How can I make a flash animation NOT REPEAT?

Discussion in 'Graphics & Multimedia' started by DerkThunder, Apr 1, 2009.

  1. #1
    I'm working with Flash CS3 and I've just finished a nice animation. I want it to freeze on the final frame and not keep repeating over and over but I can't find where the option for that is. Any help is greatly appreciated.
     
    DerkThunder, Apr 1, 2009 IP
  2. innovati

    innovati Peon

    Messages:
    948
    Likes Received:
    63
    Best Answers:
    1
    Trophy Points:
    0
    #2
    look up actionscript stop command. You need to make a new keyframe at the end, insert the code.

    I think it's something like ;stop()

    but I'm not entirely sure. It will for sure be all over the internet, and in the help docs...
     
    innovati, Apr 1, 2009 IP
  3. ExtremeData

    ExtremeData Well-Known Member

    Messages:
    450
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    125
    #3
    Go to the last frame of your animation and press F9.Add the stop command
    stop();
    Code (markup):
     
    ExtremeData, Apr 2, 2009 IP
  4. innovati

    innovati Peon

    Messages:
    948
    Likes Received:
    63
    Best Answers:
    1
    Trophy Points:
    0
    #4
    I was close :-P
     
    innovati, Apr 2, 2009 IP
  5. Grit.

    Grit. Well-Known Member

    Messages:
    1,424
    Likes Received:
    22
    Best Answers:
    1
    Trophy Points:
    110
    #5
    It's part of actionscript. Flash actually has an actionscript library built in to make it really easy to add functions like the stop(); command to your animation.
     
    Grit., Apr 2, 2009 IP
  6. DerkThunder

    DerkThunder Well-Known Member

    Messages:
    373
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    108
    #6
    Thanks very much. I'm a flash novice and I was never really sure what actionscript was. I'll probably be looking into that more to what new stuff I can do with it.

    I suppose I would use that to insert a hyperlink in the flash too right?
     
    DerkThunder, Apr 2, 2009 IP
  7. ExtremeData

    ExtremeData Well-Known Member

    Messages:
    450
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    125
    #7
    Yes to add a url into flash you you need a small actionscript.
    This is for actionscript 2.If you use AS3 let me know and I'll post the script.
    You need to set the instance name of your button to "mybutton".You can change this value but be sure you have same value into the script.
    
    mybutton.onRelease = function() {
    getURL("http://digitalpoint.com","_blank");
    }
    
    Code (markup):
     
    ExtremeData, Apr 2, 2009 IP
  8. underthestreetlight

    underthestreetlight Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I highly suggest looking more into actionscript. The possibilities are endless with the things you can do with it. From making a simple animation to the most complex website or even game.

    LOOK INTO IT!!
     
    underthestreetlight, Apr 4, 2009 IP