You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FlaSymbolSkin supports states on controls, by invoking the onState method (which currently runs gotoAndPlay on skin passing state/frame_label as a parameter). Unfortunetaly, since it not implements IStateFulClient interface, states are not changed when user interacts with it on ie. Button component.
In my opinion FlaSymbolSkin should implement IStateFulClient and onState should be changed to changeState required by this interface. After that states on skinned button works fine.
The text was updated successfully, but these errors were encountered:
Good point. In all earnest though, the states metaphor in OpenPyro was hastily implemented and needs a thorough cleanup. I am hoping to revisit that entire system post the 0.6 release. Thanks for the feedback, if you have more please let me know. It may also be worthwhile to get that discussion started on the mailing list at http://groups.google.com/group/as3-pyro-user-group
FlaSymbolSkin supports states on controls, by invoking the
onState
method (which currently runsgotoAndPlay
on skin passing state/frame_label as a parameter). Unfortunetaly, since it not implementsIStateFulClient
interface, states are not changed when user interacts with it on ie.Button
component.In my opinion
FlaSymbolSkin
should implementIStateFulClient
andonState
should be changed tochangeState
required by this interface. After that states on skinned button works fine.The text was updated successfully, but these errors were encountered: