On Nov 27, 2007 8:53 AM, zou lunkai <[EMAIL PROTECTED]> wrote: > + /// @param allowUnloaded > + /// If true an unloaded sprite is still returned as such, > + /// rather then attempted to be resolved as a soft-reference. > + /// Main use for this is during paths resolution, to avoid > + /// infinite loops. See bug #21647. > + /// > + sprite_instance* to_sprite(bool allowUnloaded=false) const; > > In which scenario we are not allowed to access an unloaded sprites? > Shouldn't to_sprite() always allow unloaded characters? >
In ActionScript level, unloaded(but not destroyed) characters are always accessible by both hard references an soft references. So to_sprite(bool allowUnloaded=false) is bit of confusing, isn't it? --zou _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit