0 Replies - 306 Views - Last Post: 20 March 2005 - 01:28 AM

#1 reyco1   User is offline

  • New D.I.C Head
  • member icon

Reputation: 2
  • View blog
  • Posts: 43
  • Joined: 20-March 05

Toggle button

Posted 20 March 2005 - 01:28 AM

Description: place thie code on the first frame of the button instanceMake a button into a toggle button
on (press) {
        if(toggled==undefined){
                //doSomething
                toggled=true
        }
        else{
                //undoSomething
                toggled=undefined;
        }
}

Is This A Good Question/Topic? 0
  • +

Page 1 of 1