[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] gnash ChangeLog server/button_character_instanc...
From: |
strk |
Subject: |
Re: [Gnash-commit] gnash ChangeLog server/button_character_instanc... |
Date: |
Wed, 12 Dec 2007 20:41:03 +0100 |
On Wed, Dec 12, 2007 at 06:16:31AM +0000, Zou Lunkai wrote:
> button_character_instance::stagePlacementCallback()
> {
> // Register this button instance as a live character
> + // do we need this???
> _vm.getRoot().addLiveChar(this);
This is currently the only way to get ::advance called.
As long as *childs* registers themselves we shouldn't need
advance to be called for us.
> + ch->stagePlacementCallback(); // give this character life
> (TODO: they aren't on stage, are them ?)
Ehm... they are when they appear, they aren't when they disappear.
Childs appear or disappear based on button state.
Should register to movie_root (addLiveChar) when appearing and
unregister when disappearing.
--strk;