------------------------------------ d e c o n s t r u c t i n g ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' f l a s h Perl::Flash modules (c) 1999, 2000 Simon Wistow ------------------------------------ o Rewrite File::Binary so that SBits work o Rewrite the Parser We're getting a lot of extraneous information we don't need. Plus we could profile it to see where the bottlenecks are 'cos it's slow as a dog at the moment. o Rewrite the Generator The one we're using at the moment is shite and closedsource. Need to rewrite it using swfparse.cpp and the Middlesoft SDKs as a reference and then rewrap using XS/SWIG/Whatever. It also needs interfacing with the object model. o Sort out text replacement This should be fairly easy with since at the moment I'm using an object model exactly like the SWF file format. This keeps lots of information which we don't need. Text for example should just be kept as a string and some flags not pointers to the font. o Rewrite Object module Don't use Class::Struct as it's slow (I think) plus it could be much simpler (see previous three points). It also needs to be able to combine files so that you can take a base template file and then add stuff ontop of it. o Write lots of subclasses So that you can do lots of effects and utility classes like automatic progress/loading bars. Plus subclasses to replicate functionality of other programs like Macromedia Generator o Write XML input/output filters Cos they're a lot faster to parse o Look at interoperability with SVG Cos that would rock and would provide incredibly useful functionality and would bring fame and fortune. o Write a decent HOWTO on using the modules/generator But that can wait until they've all been rewritten o Add GPL/Artistic licence to all files o Take over the world Because Dave told us to