All pastes #626092 Raw Edit

Anonym

public text v1 · immutable
·published 2007-07-19 12:02 UTC
rendered paste body
_root.attachMovie("begun", "begun_mc", 100, {_x: 300, _y: 0});
_root.attachMovie("wow", "bild_mc", 99, {_x: 300, _y: -10});
_root.attachMovie("enter", "button_mc", 101, {_x: 300, _y: 150});
_root.attachMovie("video", "video_mc", -500, {_x: 300, _y: 70});

video_mc._visible = false;
video_mc._alpha = 0;
video_mc._xscale = 80;
video_mc._yscale = 80;
button_mc._visible = false;
button_mc._alpha = 0;
bild_mc._alpha = 0;
begun_mc._alpha = 0;
begun_mc._xscale = 0;
begun_mc._yscale = 0;


begun_mc.onEnterFrame = function(){
		if(video_mc._alpha < 100){
			video_mc._visible = true;
			video_mc._alpha += 5;
	// wenn 'begun_mc' einblenden noch nicht fertig
		}else if(this._alpha < 100 & this._xscale < 120 & this._yscale < 120 & this._y < 200){
                        this._alpha += 5;
                        this._xscale += 5;
                        this._yscale += 5;
                        this._y += 5;
						video_mc.stop;
						_root.video_mc._alpha -= 10;
	// wenn bild_mc einblenden noch nicht fertig
        }else if(video_mc._currentframe > 851 & _root.bild_mc._alpha < 100){
                this._alpha -= 5;
                _root.bild_mc._alpha += 5;
	// wenn button_mc einblenden noch nicht fertig
	}else if(video_mc._currentframe > 851 & _root.button_mc._alpha < 100){
                _root.button_mc._alpha += 3;
                _root.button_mc._visible = true;
	// wenn alles fertig
        }else{
		delete this.onEnterFrame;
	}