flash actionscript help
flash actionscript help
- Started
- Last post
- 2 Responses
- lara
does anyone know how to make an image load from top to bottom (like in HTML) in flash?
would be great if someone could send me a flash file with the script.
Thanks!
- unfittoprint0
make an MC. make another MC with a square [same dims as the img] sliding from -img height to 0. make a stop function within this MC. and another stop at the end of the anim.
use the sliding MC to mask the MC where you'lll load the img.
in the stage, name your 2 MC's [MC and maskM] and use an onEnterFrame to check the loading status.
MC.load("image.jpg");
MC.onEnterFrame = function(){
if (this.getBytesLoaded()==this.get... && this.getBytesTotal() >10){
this._parent.maskMC.play();
delete this.onEnterFrame;
}
};
- lara0
thanks so much unfittoprint. just wrote you an email.