Re: [Flashcoders] Scaling problem while loadingexternaljpeg'sin theMovie Clip

2006-11-02 Thread Yehia Shouman
function loadImage(image){ this.holder.loadMovie(image); var imageLoaded:Boolean=false; this.onEnterFrame = function() { imageLoaded=this.holder.getBytesLoaded()== this.holder.getBytesTotal(); if (this.holder._width>0 && this.holder._height>0 && imageLoaded) {

RE: [Flashcoders] Scaling problem while loadingexternaljpeg'sin theMovie Clip

2006-11-01 Thread Steven Sacks | BLITZ
I did not write out the entire solution because I was focusing on the specific functionality. When you use a holder clip, you're going to be creating it and removing it on the fly. this.holder.removeMovieClip(); this.createEmptyMovieClip("holder", 10); this.holder.loadMovie("some.jpg"); Easy pea