On Tue, Jun 28, 2005 at 09:17:53PM -0400, Richard Kilmer wrote: > Hey David, pretty sweet set of Ruby scripts. Being a Ruby hacker > myself, how hard do you think this would be to use as2api to generate > intrinsic representations of a library (see thread on SWF as DLL for > more on that).
Bearing in mind that I don't know much intrinsic classes; yeah, I think that shouldn't be too hard to knock together. If you grab the Ruby scripts, you'll see that 'api_model.rb' defines a simplified sort-of Document Object Model for AS2. After parsing/processing, the templates in 'html_output.rb' walk the DOM, spitting out HTML. If you're lucky, this invented DOM contains enough info to derive intrinsic definitions; hook your code in at the end of CLI#main (as defined in 'ui/cli.rb') if you want to test this theory. dave -- http://david.holroyd.me.uk/ _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
