A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Listeners

  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    6

    Listeners

    Can someone help me?. I have a movieclip in frame 1 doing an animation. I would like to use a listener to determine when the movie clip is finished then move to the next frame.

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    use onEnterFrame to constantly poll the position of the clip timeline.
    when clip._currentframe == clip.totalframes, end the onEnterFrame
    and navigate to your next frame

  3. #3
    Junior Member
    Join Date
    Aug 2009
    Posts
    6
    Thanks for pointing me in this direction. I have been swamped with work on my job, so I am just getting round to the post. I will definitely try this and let you know.

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