export flash movie as image

hi,
can i export a flash movie as a bitmap or gif by code! like creating a button, that once clicked the flash movie will be saved as a gif in the c directory.
thanks in advance
LVL 3
mte01Asked:
Who is Participating?
 
AngryBinaryCommented:
Particularly since this would involve filesystem access, it is not possible for flash to save images to file at runtime. Unfortunately, you also can't serve image files on the fly HTTP style.

If this is for a desktop application, then I suppose the good news is that some 3rd party Flash desktop wrappers allow exporting images at runtime.

ScreenTime's mProjector has a method to capture a region of the screen to JPG, for example, which can effectively provide that functionality provided that a JPG is sufficient. Since you can also use the methods provided by mProjector to capture screen size and position, you can export a very precise portion of your flash to an image.

--Randall
0
 
mte01Author Commented:
>>AngryBinary

I solved it by reading the flash pixel by pixel before saving it as an image :)...thanks for your help anyway
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.