[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-dev] sprite_instance::restart() and properties
From: |
Udo Giacomozzi |
Subject: |
[Gnash-dev] sprite_instance::restart() and properties |
Date: |
Wed, 18 Apr 2007 21:15:44 +0200 |
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] sprite_instance::restart() and properties,
Udo Giacomozzi <=
- Re: [Gnash-dev] sprite_instance::restart() and properties, strk, 2007/04/19
- Re[2]: [Gnash-dev] sprite_instance::restart() and properties, Udo Giacomozzi, 2007/04/19
- Re: [Gnash-dev] sprite_instance::restart() and properties, strk, 2007/04/19
- Re[2]: [Gnash-dev] sprite_instance::restart() and properties, Udo Giacomozzi, 2007/04/19
- Re: [Gnash-dev] sprite_instance::restart() and properties, strk, 2007/04/19
- Re[2]: [Gnash-dev] sprite_instance::restart() and properties, Udo Giacomozzi, 2007/04/19
- Re: [Gnash-dev] sprite_instance::restart() and properties, strk, 2007/04/19
- Re[2]: [Gnash-dev] sprite_instance::restart() and properties, Udo Giacomozzi, 2007/04/19
- [Gnash-dev] Menu stop/play/restart (was: sprite_instance::restart() and properties), strk, 2007/04/19