/ Published in: ActionScript 3
This is a toggle for the visibility for a button. Put the same principle can be used for other toggles that switch a boolean.
Expand |
Embed | Plain Text
function onToggle(evt:MouseEvent):void { object.visible = !object.visible; }
You need to login to post a comment.
