This is an interesting piece of code, although it does not actually deal with the particular problem that I was referring to.
My question involved two, presumably simple stages: 1. Define an object using .sprite 2. place that object on the stage using script (e.g: addChild()) So far I have still not found a way to do this, even with the advice from Matthias. I will try dynamic later, perhaps that will help, Richard. ________________________________ From: Ricardo Pedroso <[email protected]> To: swftools-common <[email protected]> Sent: Monday, 19 October, 2009 15:55:25 Subject: Re: [Swftools-common] Really basic AS3 question On Sat, Oct 17, 2009 at 9:08 AM, jean-michel.voicechat_fan <[email protected]> wrote: > hello matthias > i have tried to put a class syntax on the top of .action: statement > but i have a syntax error > i have just wrapped a small piece of working code > > the syntax error pointer points on the class name > > it seems like class statement is not taken into account > is something missing ? > I was hunting this for sometime too. Today I was able to make it work (tested only with swftools-2009-08-24-2042), see attachment. It's a simple test editor. You can change bold, italic, underline with 3 buttons or with context menu (mouse right click) The "magic" here is to define a dynamic class Richard and Jean, if you find other ways of doing, please let me know Hope this will be useful, Ricardo
