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


Reply via email to