4

Just curious, can flash take each frame and export it out as a image ? In my case, I want to create sprite images for a flashdevelop project using blitting. Of course I know there is a solution for this. like copy and paste each shape into a image editor such as photoshop and turn them into png's. But I am just seeing if there is a simpler means of doing so.

numerical25
  • 10,524
  • 36
  • 130
  • 209
  • Are you looking for this http://stackoverflow.com/questions/2186614/is-export-movie-as-png-sequence-for-movies-with-actionscript-animation-possible/2189270#2189270? – Ponkadoodle Feb 17 '10 at 07:46

2 Answers2

7

Check out BitmapData.draw(). You can listen to frame events and programmatically spit out bitmaps from within Flash (draw the stage onto a bitmap, lather, rinse, repeat). Combine this with a PNG encoder and you can automate the entire process very easily.

zenazn
  • 14,295
  • 2
  • 36
  • 26
3

there is an export function with flash too, so if you animate or draw your objects to stage you can export it as in image sequence (file->export->export movie-> jpeg, GIF, png etc).

longstaff
  • 2,061
  • 1
  • 12
  • 15