dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Control of frames

  1. #1
    Junior Member
    Join Date
    Sep 2000
    Posts
    25

    Hi all!

    I have an animation of a rotating wireframe cube.This is a loop of about 20 frames.So the last frame contains the "goto and play frame 1" action.

    I added a secondary move of the cube that zooms in (from 21-30 frames)


    Also I have a button that when it pressed to change the rotating animation to zoom...

    What I want is: This change to be smooth!Which means , when I press the button, the box to finish the rotation (till 20 frame) and then to zoom (from 21-30 frame).


    THNX A LOT
    bye
    chris

  2. #2
    Senior Member
    Join Date
    May 2001
    Location
    London
    Posts
    331
    It would probably be easiest to use variables..

    In the first frame of the main timeline, apply this:
    stop = false
    Just say when the button is clicked
    stop = true

    And on the last frame of the rotate Animation:

    if (stop == true){
    [START ZOOM ANIM]
    }else{
    gotoAndPlay(1)
    }

    If you need to know how to start the zoom anim post again, but you seem as if you have a pretty good knowledge of it so far.. so i left that bit out.

    HTH
    Dan

  3. #3
    Junior Member
    Join Date
    Sep 2000
    Posts
    25
    Ok!
    I gave wrong impression.
    I 'm new to actionscripting, so if u don't mind give me more
    details....!

    Thnx again !
    bye
    chris

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