I did find the solution myself. Embedding means reading files in a path relative to the source files (where the MXML file resides), and NOT where the SWF file resides (/BIN). The confusion came from runtime URL references (such as in an HTTPService request) which are relative to the SWF virtual path location. I am posting anyway, just in case somebody trips over the same ;-)

 

-Iko


From: [email protected] [mailto:[email protected]] On Behalf Of Iko Knyphausen
Sent: Monday, October 09, 2006 4:25 PM
To: [email protected]
Subject: [flexcoders] unable to resolve 'image filename' for transcoding

 

Hi,

 

I am trying to get a horizontal list going, and following an example in the online docs. The compiler does not like this code in the CDATA section…

 

unable to resolve 'image filename' for transcoding

 

[Bindable]

    [Embed(source="layout1.png")]

    public var tlayout1 : Class;

 

The image file resides in the same directory as the SWF (and it is reading XML files and other stuff from there fine).

 

Any ideas?

Iko

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to