3 Replies Latest reply on Aug 17, 2010 4:22 AM by Ned Murphy

    button onRelease event question

    tom_servo3000

      I have a button that shows up on the stage towards the middle of my movie.  I also have some actionscript (on its own layer) that attaches an onRelease (getURL) event to this button. 

       

      If I place the actionscript in the first frame--before the button appears on the stage--it doesn't work.  If I place the actionscript at the same point or after the button appears, it works.

       

      Is this the way it's supposed to be, where actionscript can't work on a symbol that hasn't appeared on the stage yet?  If so, not sure why I never noticed before.  Then again, it's been a while so I'm sort of back in newbish mode again :\.

       

      Thanks,

       

      David