[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] AS3 class usage
From: |
Ricardo Pedroso |
Subject: |
Re: [Swftools-common] AS3 class usage |
Date: |
Wed, 21 Oct 2009 23:47:23 +0100 |
On Tue, Oct 20, 2009 at 6:19 AM, jean-michel.voicechat_fan
<address@hidden> wrote:
> 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
Not a problem, everyone can use it for anything, part of it is
copy&paste/adapted from adobe livedocs
Ricardo
> Matthias Kramm a écrit :
>>
>> 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
>>
>>
>>
>>
>>
>
>