Yes, my apologies. I guess I was mixing up dynamic properties with the standard properties.
Dynamic properties do get wiped, but standard ones are preserved, as Marc states. loader2.idiot = "jonathan"; loader2.onRelease = function(){ this.loadMovie("circle.swf"); } // then once it is loaded trace(loader2.idiot); // traces "undefined", (which is clearly not true. we know exactly who the idiot is, yes?) On Fri, Feb 29, 2008 at 3:22 PM, Marc Hoffman <[EMAIL PROTECTED]> wrote: > Jonathan, > > Sorry, but as far as AS2, you're wrong. A loaded movie inherits the > properties of the clip it's loaded into. Test it yourself. Create > circle.swf, a movie of a round circle. Create a base movie with two > loaders (loader1 and loader2) based on a square mc. Code it like this: > > > loader2._xscale = 50; > loader1.onRelease = function(){ > this.loadMovie("circle.swf"); > } > loader2.onRelease = function(){ > this.loadMovie("circle.swf"); > } > > > Test the base movie. loader1 loads the circle as a circle. loader2 > loads it as an elipse half as wide as it is high. > > Marc > > At 11:19 AM 2/29/2008, you wrote: > >And if you are loading it into a clip that you've set _xscale + _yscale > on, > >the movie replaces those properties when it's loaded. loadMovie > essentially > >replaces the movie it's called from, wiping its properties. > > > >On Fri, Feb 29, 2008 at 1:28 PM, Marc Hoffman <[EMAIL PROTECTED]> > >wrote: > > > > > Theodore, > > > > > > How was holder_lesson created? If it has been scaled up from some > > > other mc, the loaded movie will also be scaled up. Best to use a > > > non-scaled clip as a holder. AS2 example: > > > > > > this.createEmptyMovieClip("holder_lesson",this.getNextHighestDepth()); > > > holder_lesson._x = 10; // or wherever you want to place it > > > holder_lesson._y= 10; // or wherever you want to place it > > > holder_lesson.loadMovie("lessons/" + _root.wlesson + ".swf"); > > > > > > As Bob mentioned, you can also resize after loading but you must wait > > > until the onLoadInit event has fired. In AS2 you'd use > > > MovieClipLoader class to handle this. > > > > > > Marc > > > > > > At 06:45 AM 2/29/2008, you wrote: > > > >I am loading a movie via: > > > > > > > >holder_lesson.loadMovie("lessons/"+_root.wlesson+".swf"); > > > > > > > >the problem is the movie is maxing to the size of the swf and not the > > > >size of the clip it is being loaded into... it takes up the whole > swf... > > > >I am even trying to resize it: > > > > > > > >holder_lesson._width = 967; > > > >holder_lesson._height = 572; > > > >holder_lesson._x = 3; > > > >holder_lesson._y = 23; > > > > > > > >what's up? > > > > > > _______________________________________________ > > > Flashcoders mailing list > > > Flashcoders@chattyfig.figleaf.com > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > > > > > > > >-- > >-jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME 04101 > >_______________________________________________ > >Flashcoders mailing list > >Flashcoders@chattyfig.figleaf.com > >http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- -jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME 04101 _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders