actionscript 3 - How to export image from swf with ActionScript3/PHP? -
I have another piece for more advanced ones than me;)
I have a simple flash application Developing Your Weapon When Preparation Finishes, it would be better to save it as a client on the computer or in a database, I am not sure whether the problem is making the image from SDF content - mine This means that there is not all the material, part of it, where the CO Have I got some image encoder and some examples on the web using PHP, but I have to understand how it works. Can anyone be very kind to explain to me the basic principles of this? I want to make it as simple as possible. First, draw a picture (a ghost or movie clips, etc.) in a bitmapdata:
var b: bitmapdata = new bitmap data (640, 480, false, 0xffffffff); B.draw (mcToBeSaved); Then, for example, use Bitmapdata to encode in PNG or JPG files.
var ba: ByteArray = PNGEncoder.encode (b); Then, for Flash 10, you can immediately use the FileReference save method to save the file to a file in the user's file.
Comments
Post a Comment