On Fri, Aug 31, 2007 at 05:50:25AM +0000, Zou Lunkai wrote: > + * Description: > + * > + * frame2: Place mc1, mc2, mc3 by PlaceObject2 tag. > + * Create a soft reference mc1Ref for mc1, mc2Ref for mc2, mc3Ref > for mc3. > + * Define onUnload for mc2, define onUnload for mc3. > + * Define mc2.testvar = 100, define mc3.testvar = new Number(100); > + * > + * frame3: Remove mc1, mc2, mc3 by RemovieObject2 tag > + * > + * > + * Expected behaviour: > + * (1) mc1Ref in frame3 is dangling. > + * (2) mc2Ref, mc3Ref, mc2 and mc3 are still accessible in frame3. > + * (3) Movieclip.swapDepths() does not work for mc2 and mc3 in frame3. > + * (4) mc2.testvar keeps alive after onUnload, mc3.testvar gets destroyed > before entering onUnload handler. > + * (5) mc2Ref, mc3Ref are dangling at frame4. > + * > + */
Excellent !! Thank you !! Btw, why mc3.testvar gets destroyed and mc2.testvar doesn't ? --strk; _______________________________________________ Gnash-commit mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-commit
