05-04-2011 06:55 PM
I have a class that stores all of the relative paths of .jpgs in an array as strings. (that works)
it ends up giving me the below info stored in an array called 'files'
e.jpg /accounts/1000/appdata/appname/shared/downloads/tw o.jpg /accounts/1000/appdata/appname/shared/downloads/th ree.jpg etc....
var request:URLRequest = new URLRequest(files); _loader.load(request); then _bitmapData.draw(_loader, new Matrix()); //to draw the bitmap to screen
this is simplified for the example, but you get the idea... I hope.
var request:URLRequest = new URLRequest("What do I type here?");
Solved! Go to Solution.
05-05-2011 08:23 AM
05-05-2011 11:51 AM
As soon as if saw file:// I smacked my head... of course, why would it assume... we have to put http:// for net requests.
I am loading the bitmap on the Event.COMPLETE
I'll change it to Event.INIT, thanks for the advice.
I was using the _bitmapData container to transform the bitmap before displaying it while retaining the original in the loader. Not that I know this is the right way to do it, Its just the way I know. I will explore the flash .display.Loader packages. Always good to know of other ways that are more efficient. Thanks for your post.