Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

States for FlaSymbolSkin are not applied #23

Open
crunchorn opened this issue Oct 30, 2009 · 1 comment
Open

States for FlaSymbolSkin are not applied #23

crunchorn opened this issue Oct 30, 2009 · 1 comment

Comments

@crunchorn
Copy link

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.

@arpit
Copy link
Owner

arpit commented Oct 31, 2009

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants