Spark Button skin with scaling transition


/ Published in: MXML
Save to your folder(s)

Here's a simple Button skin that will scale up and down on roll over and out. The important thing to note is that the skin is a simple ellipse with a label so the scale effect needs to happen from the centre point of the skin. To do this you need to set the transformX and transformY properties of the skin to half the width and height of the skin. In this example the skin is an ellipse with a simple plus icon and a label.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.