hello all,
i’m looking for a good strategy for my swf to be able to load images in a password protected directory. since flash can’t access a file behind a protected folder i figure i’ll use php to get the image and pass it to flash.
how best to get an image from php to flash since i can’t just send a path to a file and have flash execute a Loader() to retrieve it since the Loader won’t be able to get behind the protected folder?
is it best to have php send the file binary to flash that flash will receive via URLLoaderDataFormat.BINARY? is it best to, at runtime, have php move the requested file from the protected folder to an unprotected folder and after flash loads it then delete it from the unprotected folder? maybe it’s best to leave the image folder unprotected and let an .htaccess redirect restrict outside access to the folder?
suggestions?
tia,
michael