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)
{
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
2 matches
Mail list logo