Strk, you probably can answer this.

In

  void sprite_instance::restart()

there is a call to

  clearProperties();

which clears the "_members" list which contains all the getter-setters
for standard properties like "_x", "_parent" etc. However, these
gettersetters are *not* restored in construct() since the only place
where attachMovieClipProperties() is being called is the
sprite_instance constructor. 

Is this by design?

This is the reason why no built-in properties work when a movieclip is
the child of a button. The character instances for the button are
restarted and this makes them loose all their built-in properties.

Took me quite a while to figure this out.

Udo



_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to