swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] AS3 class usage


From: Matthias Kramm
Subject: Re: [Swftools-common] AS3 class usage
Date: Mon, 19 Oct 2009 19:06:55 -0700
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, Oct 19, 2009 at 09:50:03AM +0200, jean-michel.voicechat_fan 
<address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]