I need a button in Flash/AS3 that toggles between on and off. So I was glad to see that the Button
class has the toggle
property that lets me have that behavior. I was less happy to see that what I get when I make something a "button" in the Flash file is an instance of SimpleButton
class, which does not have that option.
Is there a way to either get a Button instance from the .fla, or get the SimpleButton to behave as a toggle?