ok this question is solved by the example of ricardo
it will be nice that this example will appear on swftools site that will help a lot of people
wishing to use AS3
if ricardo don t mind of course

Matthias Kramm a écrit :
On Mon, Oct 19, 2009 at 09:50:03AM +0200, jean-michel.voicechat_fan 
<[email protected]> wrote:
hello i have add a reply to really basic AS3 question ( it was in fact a question) in this post matthias has explained that it will be possible to put some class definition
in a sc file
but i have tried to put a class definition without success  into a .action:
section
always a syntax error on the class name
may be i am doing a mistake
matthias can you give a very short example how to set a class definition
in action: section

It should look like this:

.action:
    public class MyMovie extends flash.display.MovieClip
    {
        function MyMovie() {
// ... }
    }
.end

Matthias





<<attachment: jeanmichel_gens.vcf>>

Reply via email to