dcsimg
A Flash Developer Resource Site

Results 1 to 11 of 11

Thread: Animation question

  1. #1
    Junior Member
    Join Date
    Feb 2003
    Posts
    26

    Animation question

    Hi guy,
    One question, I want make a flash animation. On frame 5, the image come in and in the frame 10 i put a move clip animation and I want it loop and always play frame 10 and frame 5 stay.

    If I add stop on the frame 10 the whole loop is going to stop.

    How can I add this action script.
    Please help me!

    thanks


    silky

  2. #2
    Junior Member
    Join Date
    May 2002
    Location
    Madison, CT
    Posts
    15
    explain some more...
    -Let them see what is not there and feel what does not touch them. When they no longer trust their senses, that is the time to strike!

  3. #3
    Junior Member
    Join Date
    Feb 2003
    Posts
    26

    Ok!

    I only have 10 frame for this animation. It is going to have a small image slide into the page from frame 1 to frame 5. On the frame 10, I will insert a movie clip which include its own animation.

    I want the page always replay frame 10 movie clip when I preview on browser to instead replay from frame1 to frame10.

    It must have a script to control it.

    I hope this is clear.

    thanks


    silky

  4. #4
    Senior Citizen phacker's Avatar
    Join Date
    May 2000
    Location
    Far Northern California
    Posts
    1,823
    Put a "stop" action in frame 10.
    Click here to visit Scooter's World, the Chihuahua/Pekinese who thinks she is a Doberman, and has the soul of a true "artiste". Computer graphics, animation, logos, mascots (Vector work a specialty.).

  5. #5
    Junior Member
    Join Date
    Feb 2003
    Posts
    26
    This is not what I want. A STOP can stop whole movie. I want movie still runing on frame 10 when animation done. Onle loop on play frame 10!!!



    Thanks

  6. #6
    Senior Citizen phacker's Avatar
    Join Date
    May 2000
    Location
    Far Northern California
    Posts
    1,823
    "and in the frame 10 i put a move clip animation "

    If you have a looping movie clip in frame ten, then all you need is a stop action in that frame and the movie clip continues to run.
    Click here to visit Scooter's World, the Chihuahua/Pekinese who thinks she is a Doberman, and has the soul of a true "artiste". Computer graphics, animation, logos, mascots (Vector work a specialty.).

  7. #7
    Senior Citizen phacker's Avatar
    Join Date
    May 2000
    Location
    Far Northern California
    Posts
    1,823
    Example:
    Attached Files Attached Files
    Last edited by phacker; 06-18-2004 at 08:15 PM.
    Click here to visit Scooter's World, the Chihuahua/Pekinese who thinks she is a Doberman, and has the soul of a true "artiste". Computer graphics, animation, logos, mascots (Vector work a specialty.).

  8. #8
    Senior Member Sasocki's Avatar
    Join Date
    Feb 2004
    Posts
    187
    Make sure that the movie clip replays, and like phacker said, you need to put a stop action on the tenth frame of the timeline. Although it may not look like its repeating in the view port, when you export it, it will loop .

  9. #9
    Junior Member
    Join Date
    May 2002
    Location
    Madison, CT
    Posts
    15
    I think they pretty much covered it. That should work.
    -Let them see what is not there and feel what does not touch them. When they no longer trust their senses, that is the time to strike!

  10. #10
    zephyr Olly K's Avatar
    Join Date
    May 2002
    Location
    The Univerity of Wales, Newport
    Posts
    1,357
    I think phacker has told you what to do right from your explaination, but this may be what you want to add:

    Set a label 'loop' at frame 5

    At frame 10
    gotoAndPlay("loop");

    Then when it gets to frame 10 it will e told to go back to frame 5 and continue playing again.
    Hope thats what you want
    -Olly
    - I made this!
    http://www.okkle.co.uk - creatures, art, animation and toys!
    Toilet Trumps

  11. #11
    Junior Member
    Join Date
    Feb 2003
    Posts
    26
    Thanks Phacker for your sample.

    Thanks Olly K suggestion that is exactly what i need.


    Thank all you guys

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center