dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: simple rotation script

  1. #1
    Member
    Join Date
    Mar 2001
    Posts
    35
    hello, i trying to make a simple MC rotate on it's own in a continuous motion.

    1st frame; i set the variables:
    RotationRate=1;
    Rotation = 0;

    2nd frame; i put this event on the MC called bob:
    onClipEvent (enterFrame) {
    Rotation = "Right";
    }

    3rd frame; i put this action
    if (Rotation=="Right") {
    bob._rotation = bob._rotation+RotationRate;
    }

    4th frame;
    gotoAndPlay(2);

    the MC bob doesn't budge!!! what's missing?
    please help. i know it's a really easy thing to do but i am blocked!
    thanks

  2. #2
    Senior Member
    Join Date
    Mar 2001
    Posts
    351
    Why don't you do it the easy way

    http://www.flashkit.com/tutorials/Ac...33/index.shtml

    Enjoy ....

  3. #3
    Member
    Join Date
    Mar 2001
    Posts
    35

    eh-he

    yah, i saw it almost right after i posted the question. :-]

    thanks neo.

  4. #4
    Senior Member
    Join Date
    Mar 2001
    Posts
    351
    No probs... Glad it's sorted

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