Hi, is there any way to embed these image files that are used in a mx item renderer?
override public function set data(value:Object):void
{
img.source="assets/Deal.png";
I think your code snippet got cut off, but you can embed an images as a static property (it doesn't have to be static, but I would suggest it for an item renderer).
[Embed(source="assets/Deal.png")]
private static var Deal:Class;
Keep in mind the path is relative to the actionscript file doing the embeding.
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf 60546-7ff2.html
North America
Europe, Middle East and Africa
Asia Pacific