gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Graphics > Converting Images from Flash

#16689 - killingarts - Sun Feb 22, 2004 8:56 pm

I did a search and all that came up was Flash Cartridges? But what I want to know is how I would go about converting flash animations to GBA tiles in the correct format. I know I can scale the images up and down to any size due to flash being vector based, but once I export do I have to draw over all my animations in 256 colors? Or can I use a utility to export them outright? Thanks in Advance!

#16695 - poslundc - Mon Feb 23, 2004 1:15 am

The Flash animation format is fundamentally different from the way the GBA operates. There is no direct way to convert from one to another. You would have to write a Flash player for the GBA, and that would be no simple task and probably would run very slowly on the GBA's processor.

Dan.

#16697 - yaustar - Mon Feb 23, 2004 2:13 am

there may be a VERY long way to get your animations onto the gba.

swf to avi somehow
avi to gif via Jasc Animation

now you have your basic indivdual frames to convert into GBA usual format.
Write a program that will 'flick' through all the indivdual frames in order

Bear in mind that although this is an idea it is not necessary a good one :P
_________________
[Blog] [Portfolio]

#16702 - XeroxBoy - Mon Feb 23, 2004 4:40 am

No, it's not really a good one, but...

In case you're curious, you can get an SWF2AVI or an SWF2GIF program at the iTinySoft website.

#17854 - killingarts - Tue Mar 16, 2004 12:28 am

I know its a little late, But Thanks!

#17859 - ecurtz - Tue Mar 16, 2004 3:06 am

I'm currently using Quicktime for Java to read frames from a Flash movie and convert them to bitmaps at the job<tm>. It works pretty well, but of course it isn't worth messing with unless you've already produced a ton of Flash animations you need to export.

- eli

#17867 - ScottLininger - Tue Mar 16, 2004 5:22 am

File > Export Movie > GIF Sequence works pretty well from flash, assuming your animations are strictly keyframed graphics and not ActionScripted. You can control the output size down to the pixel and Flash does an excellent job of scaling/color dithering.

If you have something more complex where you're trying to dump out ActionScripted animations or even nested movieclips, you may want to check out http://www.multidmedia.com/

They have a cool product called Flash Studio Pro that allows you to extend ActionScripting with all kinds of tasty FSCommands, including ExportToBMP, which you could then use to export each frame regardless of how the contents of that frame were generated.

-Scott