flash actionscript:
Is it possible to convert flash to jpg/gif or any other image format during run time? exp. I would like to have button 'export to image' within my movie to export current frame.
bobetko I had the same need as you do and from my research, as far as I can tell, it isn't possible using FLASH. There is ONE work around you can try but it requires you know another programming language like VB or C++. If you don?t, I wouldn?t bother reading on ? I assume your hosting the swf file on a webpage, but if you?re running it locally (like me) then you're in luck. If you host it in something like VB6 then you can run API calls to take a 'SnapShot' of the swf file and save it to a JPG. This is what I did and it worked. If you are running it online then you have one chance but it's really ugly. You would need to do the same API calls as I mentioned before which forces you to use a HTA file instead of HTML. This is ugly since HTA files prompt the user before running each time. I doubt any of this helps, but if it does then good luck!!! Troy
Thanks for your response.
[quoted text, click to view] bobetko wrote: > Is it possible to convert flash to jpg/gif or any other image format during run time? > > exp. I would like to have button 'export to image' within my movie to export current frame.
Seen it done many times , tho I only know one place where there is a source for download. check : http://www.f-mod.com/swfdraw2jpg/ it might be of help -- Regards urami_* <hol> http://flashfugitive.com/ </hol> By The way:
Don't see what you're looking for? Try a search.
|