-
1. Re: How to convert Flash output to a JPEG?
Ross Ritchey Oct 21, 2009 4:55 AM (in response to federatedfilms)You would need a MovieClip with drop zones inside of it (other Movie Clips ideally).
I recommend publishing for player 10, since some classes that came out with it are much friendlier for the loading of files from the users computer. If you Google "AS3 local file load" or something similar you should be able to find a tutorial to get you through this step.
Then, once the user has loaded things, you would need a function (probably fired from a button click) that takes the snapshot of the page. This is done via the BitmapData class. Google it for detailed information.
And then, to save the file out to the server, you will likely need a server-side technology (but I haven't looked into server-side saving from player 10 yet, so I may be wrong). Look for "AS3 save image to server" or something similar.
-
2. Re: How to convert Flash output to a JPEG?
federatedfilms Oct 21, 2009 8:27 AM (in response to Ross Ritchey)Thanks Ross, that's most helpful.
Would the bitmap class only grab what is visible on the screen or if the comic strip was on a scrollable MovieClip would it grab what was off screen? As I think the bitmap would have to be larger than the visible screen space for it to be useable as a comic strip.
Cheers
Kevin

