PDA

View Full Version : quick ?


three
10-14-2003, 05:24 PM
_root.createEmptyMovieClip("container_mc", 1);
container_mc.loadMovie("image"+(Math.floor(Math.random()*6)+1)+".jpg");
container_mc._x = 300;
container_mc._y = 123;

How would i fade these images in?thanks

webguy
10-14-2003, 06:04 PM
container_mc._alpha=0;
container_mc.onEnterFrame = function () {
if(this._alpha>100) delete this.onEnterFrame;
else this._alpha++;
}

three
10-14-2003, 07:35 PM
thank you