Can I import an image to AS3 without PHP?
3 answers
Yes, you can if you're targeting Flash Player 10. Use the FileReference.load () method. After the file is loaded, you can access the raw data as a ByteArray using the data property. In flex, you can pass this to the image component. In simple ActionScript, you can use the Loader.loadBytes () method to display the loaded image.
+2
source to share