fileName looks like the string you need to track down.
Thanks KGLAD. I steered away from this variable because of the comment from the creator:
// filename: The suffix of the filename automatically decides which output format you get, possible values are: // "yourfilename.jpg" or "yourfilename.jpeg" for JPEG format // "yourfilename.png" for PNG format // "yourfilename.bmp" for BMP format
He makes it sound like this is the file type doesnt he?
yes, but you don't need (or want) to change the suffix.
Thanks KGLAD. It was actually the PHP side that i was able to change:
$uniqueID = md5( microtime() . rand() );
I changed it to:
$uniqueID = ( "anyname" );
Problem is now that it only allows one file called "anyname.png" to exist in that directory.
Now i think i need to figure out through PHP how to add a number or something to each subsequently generated bitmap called "anyname.png" so that the user(s) do not overwrite the files. hmmmmmm
you can use loadvars to send a variable (like the file name) from flash to your php file.