I am trying to create a link button using action script.
Everything is fine except the icon. I dont know how get it.
Using mxml i can do that by just selecting the icon property
and providing the image path.
var closeText:LinkButton = new LinkButton();
closeText.label = "Close";
//closeText.setStyle("icon","images/close_ena.png"); ?? not
sure how to do.. this doesnt work...