/ Published in: ActionScript 3
A simple line of code to apply to attributes that need to be toggled on and off.
Expand |
Embed | Plain Text
private function toggleVisibility(me:MouseEvent):void { yourMC.alpha = Math.abs(yourMC.alpha - 1); }
You need to login to post a comment.
