Create a button with an icon in actionscript
Posted
by Kevin Beck
on Stack Overflow
See other posts from Stack Overflow
or by Kevin Beck
Published on 2008-11-18T22:21:14Z
Indexed on
2010/04/29
7:57 UTC
Read the original article
Hit count: 204
flex
|actionscript-3
I want to create buttons with icons in Flex dynamically using Actionscript.
I tried this, with no success:
var closeButton = new Button();
closeButton.setStyle("icon", "@Embed(source='images/closeWindowUp.png");
© Stack Overflow or respective owner