[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] sprite_instance::restart() and properties
From: |
strk |
Subject: |
Re: [Gnash-dev] sprite_instance::restart() and properties |
Date: |
Thu, 19 Apr 2007 11:02:12 +0200 |
On Wed, Apr 18, 2007 at 09:15:44PM +0200, Udo Giacomozzi wrote:
> 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?
No, it's a bug. Attaching clip properties in ::construct seems a good
idea to me, but I'm not sure ::construct is called again after the call
to restart. What about calling attachMovieClipProperteis directly
in ::restart ?
--strk;
- [Gnash-dev] sprite_instance::restart() and properties, Udo Giacomozzi, 2007/04/18
- Re: [Gnash-dev] sprite_instance::restart() and properties,
strk <=
- 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