Hello, I have Flash Builder 4.5 and when I try to set icon property to a spark Button from acrionscript is displays the following message:
1119: Access of possibly undefined property icon through a reference with static type spark.components:Button.
I thought that the icon was supported in Flex Hero, and I think it is because I can set it fine from mxml...
Anyone has any idea why this is?
Thanks in advance.
I think "icon" is implemented as a style. Can you use "setStyle" instead?
I will try it certainly. Thanks!