Hi, I’m trying to use a tile-based imageviewer made in flash in a flex application, and it seems the .swf can’t use loadMovie for external jpg files.
Anyone has an idea how to solve this?

 

You can reproduce it like this:

 

In an empty .fla, put this:

 

this.createEmptyMovieClip("test_mc",1);

this.test_mc.loadMovie("test.jpg");

 

Put this .swf together with test.jpg in the folder where your flex swf is created (bin directory)

 

In flex, load the swf with <mx:Loader source="loadMovieTest.swf" width="800" height="600"></mx:Loader>

 

If I open the swf, it loads the image. In flex, it doesn’t.

 

Thanks for the tips.



--
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




Reply via email to