Relative paths in modules are relative to the Application not the Module.  Make 
sure you're using the right path.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: [email protected] [mailto:[email protected]] On Behalf 
Of thelordsince1984
Sent: Monday, April 06, 2009 6:37 AM
To: [email protected]
Subject: [flexcoders] Flex Modules and external sources


Hi,

a little question for you..

i've a module that could load some images from an external directory.

The structure i use is:

projectname
---some sources classes
---imagedir
----firstimage.jpg
----secondimage.jpg
---modules
----mymodule

So i create an mx:image tag into the module and i set the source property equal 
to the image file path (for example firstimage.jpg)..
this solution doesn't work..why?

any solutions?
thanks in advance

regards
Lorenzo

Reply via email to