A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: button name

  1. #1
    oldman from the east hodx's Avatar
    Join Date
    Mar 2004
    Location
    maryland
    Posts
    118

    button name

    is it possible to rename a button in the action script????
    if so...what is the code...Thanks

  2. #2
    Between Flash & Flashkit timothye's Avatar
    Join Date
    Dec 2003
    Location
    Sweden
    Posts
    1,666
    you can give it an instancename in the properties inspector .. this way u can use them over and over .. but if you edit that btn it will change all ..
    I want to learn .
    wannabe flasher [ Actionscript 2.0 ]

  3. #3
    oldman from the east hodx's Avatar
    Join Date
    Mar 2004
    Location
    maryland
    Posts
    118
    can you give me an example code please

  4. #4
    Between Flash & Flashkit timothye's Avatar
    Join Date
    Dec 2003
    Location
    Sweden
    Posts
    1,666
    example code for what ?
    Code:
    my_btn.onRelease=function(){
    //do something here
    };
    I want to learn .
    wannabe flasher [ Actionscript 2.0 ]

  5. #5
    oldman from the east hodx's Avatar
    Join Date
    Mar 2004
    Location
    maryland
    Posts
    118
    the code for changing a button name in the action script

    never mind...I figured it out finally....Thanks for all the help
    Last edited by hodx; 03-30-2004 at 03:05 PM.

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