View Full Version : Importing JPGs,PNGs,etc.
09-22-2006, 05:52 PM
Is there a way to import other file types other than SWF files? For example, can we import a PNG or JPG into the FLA file using JSAPI?
Or is there's no such way?
09-22-2006, 06:04 PM
Same way you do a normal swf file using loadMovie....
09-22-2006, 06:29 PM
This is what I know
But using the loadMovie idea, I am not sure where to place it in the code. Something like this?
09-23-2006, 04:23 AM
I think you're looking for importFile.
var dom = fl.getDocumentDOM();
var URI = fl.browseForFileURL("select", "Import File");
09-25-2006, 05:05 PM
Yes that is what I was looking for. Unfortunately I do not have Flash 8. I am stuck with 7 for the time being.
Thanks for the help guys.
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.