Hey Douglas,

Actually, Elvis is in Memphis.
It's just me and Johnny Cash here in Nashville. :-)

Ben Stucki
http://blog.benstucki.net/

----------------------------------------

                                From: "Douglas Knudsen" <[EMAIL PROTECTED]>
Sent: Wednesday, November 21, 2007 8:36 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: icon path in ActionScript 

this approach might work for you
http://blog.benstucki.net/?p=42
Elvis ain't the only thing in Nashville, eh?

DK

                                                                On Nov 21, 2007 
11:27 PM, Anzer <
[EMAIL PROTECTED]> wrote:

Thanks for the reply.  

But it will not work for me since the icon
path is coming from database and I can't give a static path. 

I have tried the following code, but that
too will give a compile error 

 var iconPath:String =
"assets/" + item.IconFile.toString(); 

 [Embed(source=iconPath)] 

 var iconCls:Class; 

Please help 

Anz 

-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?

                                                


Reply via email to