ArgumentError: Undefined state 'up'.


The skin I was using did not have the required state. The host component was a Button and the Button class requires the “up” state to be defined in the skin. I was using a base skin that did not have the “up” state defined. By using the subclass ButtonSkin I was able to correct the error.


<s:Button icon="images/rotate1.png"
		  width="48" height="48" />


<s:Button icon="images/rotate1.png"
		  width="48" height="48" />

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s