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 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to