Flash toggle button

后端 未结 3 1540
野性不改
野性不改 2021-01-14 09:37

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

3条回答
  •  一生所求
    2021-01-14 10:00

    I think this might help you alot: http://actionscriptexamples.com/2008/11/26/creating-toggle-buttons-in-flash-with-actionscript-30/

    It is actionscript only. But it's the same if you drag the Button component to the stage and asign an instance name to it. That way to can access it from the as script.

提交回复
热议问题