Can URLRequest be used for image loading (like in old good AS3 days)?
I try to use the following but with no luck:
loader.load(new URLRequest( “assets/my_image.jpg” ));
assets path=“Assets” rename=“assets”
I end up with the error:
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
Looks like it’s missing your ‘assets’ folder.
In your project folder copy:
Yes, but use
<assets path="Assets" rename="assets" embed="false" /> in order to copy the files separately instead of embedding in the SWF file (which is our default)
Thank you for the responses.
The solution from ‘singmajesty’ works fine in my situation.
Obscure’s suggestion also may be useful in similar cases.