gnash-dev
[Top][All Lists]
Advanced

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

Re: [Gnash-dev] garbage collector and the VM._global object


From: Tom Stellard
Subject: Re: [Gnash-dev] garbage collector and the VM._global object
Date: Wed, 30 Jul 2008 23:51:39 +0800


If you get that assertion failure I guess you're trying to
execute ABC blocks at parse time, as the parser runs in
a separate thread.
 
Yes, this is what I was doing.

What you should be doing is defining a class like DoActionTag
(see libcore/swf/DoActionTag.h), that is a ControlTag.
ControlTag instances are executed by main thread when
the playhead enters the frame containing it.

You'll just have to register the ControlTag with the
movie_definition containing it (addControlTag, see
DoActionTag::doActionLoader)) and provide an execute()
method.

That worked. Thanks.

-Tom

reply via email to

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