[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] onClipEvent compilation error
From: |
Matthias Kramm |
Subject: |
Re: [Swftools-common] onClipEvent compilation error |
Date: |
Sun, 9 Dec 2007 13:57:34 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Tue, Dec 04, 2007 at 08:20:29PM +0200, Vladimir Dzhuvinov wrote:
> As far as I know there are different language versions of ActionScript
> and it could be that swftools has only support for an older ActionScript
> version that doesn't have onClipEvent() yet.
>
> But then I read
> [http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001753.html]
> that onClipEvent() has been around since ActionScript 1.0/Flash Player
> 5, so it could be something else.
The following compiles for me:
.sprite mymovieclip
.end
.action:
somemovieclip.onClipEvent = function(event) {
// do something
};
.end
I haven't checked whether it's actually called, though.
Greetings
Matthias