button skin
I am trying to create a button with a png file and here is my code
<mx:Button width="175" label="{myRepeater.currentItem.CATEGORYDESC}"
data="{myRepeater.currentItem}" mouseOver="changeStyle(event)"
upSkin="@Embed(source='{myRepeater.currentItem.ICO N}')"
click="displayId(event.target.getRepeaterItem())"
mouseUp="categorySummarySelected(event.target.repe aterIndices[0])"/>
[h]upSkin="@Embed(source='{myRepeater.currentItem.ICO N}')" [/h]
but I am getting the following error: Implicit coercion of a value of type
string to a type class.
Thanks!
|