Return to Snippet

Revision: 10082
at December 7, 2008 11:58 by cessnajumpin

Initial Code
private function toggleVisibility(me:MouseEvent):void
    yourMC.alpha = Math.abs(yourMC.alpha - 1);

Initial URL

Initial Description
A simple line of code to apply to attributes that need to be toggled on and off.

Initial Title
Toggle Attributes

Initial Tags

Initial Language
ActionScript 3