[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 257
  • Last Modified:

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
0
mte01
Asked:
mte01
1 Solution
 
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

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now