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




Reply via email to