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; _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit