On Mon, Nov 24, 2008 at 5:02 PM, Julian Tenney <[EMAIL PROTECTED]> wrote: > I want to execution from a string from an XML file loaded at runtime. I > have an application that edits xml to create content. You can edit code > in there and it executes: > > <content> > <page> > <image id="img"> > <script> > Img.fade(params...); > </script> > </page> > </content> > > So you add apges, add various types of media to a page. The parser gets > a image tag, instantiates the image class and creates an image on the > page. Then script executes to call methods of that calss (like fade(), > or animate() or whatever). > > So it's a bit like flex, but runtime, rather than compiled. >
you can definitively do that with eden, just parse the <script> node content the thing you will want to change is the reference to "Img" you will need to replace it with the full path to the actual object cheers, zwetan _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
