A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Please help! Very simple question.....

  1. #1
    Member
    Join Date
    Mar 2001
    Posts
    31

    Please help! simple (enter frame) question...

    onClipEvent (enterFrame) {
    this._rotation -= 10;
    this._x += 5;
    this._y += 5;
    }
    how can i stop this action from continually entering?
    [Edited by sabiwa on 09-13-2001 at 12:31 PM]

  2. #2
    If this script is supposed to work when the clip starts then you can put it in the first frame. this way it will only work once and then the clip moves on. If you want it to happen more than once then you should consider making it a function.

    Good luck

  3. #3
    Member
    Join Date
    Mar 2001
    Posts
    31
    Originally posted by wskanaan
    If this script is supposed to work when the clip starts then you can put it in the first frame. this way it will only work once and then the clip moves on. If you want it to happen more than once then you should consider making it a function.

    Good luck
    Hey thanks for the help. i think that cleared it up.

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