Copy link to clipboard
Copied
Ok, so I have written some png files in a .txt file...
"Bracelet.png"
"Boston.png"
"Camera.png"
I would like to know how I can turn them into URLRequests using Actionscript3.
I already know how to load them.
Copy link to clipboard
Copied
this was already answered in loadImage() function.
Copy link to clipboard
Copied
Oh thats right. Can I use that function with FileReference?
Copy link to clipboard
Copied
what are you trying to accomplish that was answered previously?
Copy link to clipboard
Copied
What I was trying to accomplish was loading an image that was described in a textfile.
Copy link to clipboard
Copied
Written in a textfile, sorry.
Copy link to clipboard
Copied
copy and paste the first few lines your text file.
Copy link to clipboard
Copied
It worked! Thank you.
Copy link to clipboard
Copied
So, the original code worked, but this was a code I used.
Copy link to clipboard
Copied
you have the prizes folder/file names?
Copy link to clipboard
Copied
Prizes/3-Wheeler.png
Prizes/Acapulco.png
Prizes/Air Conditioner.png
Prizes/San Diego.png
Just to name a few.
Copy link to clipboard
Copied
that's not what the code is expecting.
it looks like the bitmaps should be in Prizes, but the name listing is supposed to be
3-Wheeler.png&Acapulco.png&Air Conditioner.png&San Diego.png
Copy link to clipboard
Copied
There it is! That's the code I'm trying to do.
Copy link to clipboard
Copied
that's late, but good to hear.