Embed is used at compile time and can only take constants
(Correct me if I am wrong) -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of kushubhai Sent: Friday, March 17, 2006 11:34 AM To: [email protected] Subject: [flexcoders] Passing actionscript variable for image path into @Embed() Hi, I am trying to pass a actionscript variable to the @Embed(..)syntax inside a <mx:Image [EMAIL PROTECTED](...) /> tag , but am unable to get the actual path of the image from the variable.Instead the variable is picked up as the literal image path..and so the image is not displayed. Need help on this.. Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

