A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Jump to frame then add event listener. Doesn't work :(

  1. #1
    Game Developer
    Join Date
    Apr 2001

    Unhappy Jump to frame then add event listener. Doesn't work :(

    Hey all,

    I have a movieclip with 3 frames. each frame has a button on it. Using actionscript I jump to a frame then add an event listener to that button.

    However, it doesn't work since the playhead for that movieclip doesn't actually get moved to a different frame until the frame redraws. So actionscript says the button doesn't exist.

    What am I doing wrong? (other than not dynamically adding the buttons with code... which will be my next step...)

  2. #2
    a.k.a gltovar deadlock32's Avatar
    Join Date
    May 2001
    good sir, this is a huge problem when working with movie clips. here is a post about it, and what to do to get past it


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