A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How do I assign actions for buttons from a frame?

  1. #1
    Senior Member
    Join Date
    Aug 2004
    Location
    London
    Posts
    410

    How do I assign actions for buttons from a frame?

    Can someone tell me how I can assign actions to a button from a frame?

    i.e. I'll have a button on stage.
    And in frame 1 ove the movie, I will assign the actions that happen when the button is clicked.

    I've seen it done in plenty of places... but I can't remember how!

    Thanks.


    OM

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    code:

    my_button.onRelease = function(){
    //whatever...
    };


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