this["tree"+tree_NO]._yscale = speed_time; this["tree"+tree_NO]._alpha = speed_time-20; this["tree"+tree_NO]._y = 75; this["tree"+tree_NO].onEnterFrame = function() { this._x = this._x+speed_time/15; if (this._x>=500) { this.clear(); this.onEnterFrame = undefined; this.removeMovieClip(); } }; } }; work_play_caput = function (path) { this[path].createEmptyMovieClip("play_caput", 2000); tellTarget (this[path]["play_caput"]) { lineStyle(0.25, 0x000000, 100); beginFill(0x000000, 100); moveTo(0, -10); curveTo(-10, -8, -10, 0); curveTo(-8, 10, 0, 10); curveTo(10, 8, 10, 0); curveTo(8, -10, 0, -10); } }; work_play1_run = function (x, y, xscale, yscale) { this.createEmptyMovieClip("play1_run", 1000); work_play_caput("play1_run"); play1_run._xscale = xscale; play1_run._yscale = yscale; play1_run._x = x; play1_run._y = y; tellTarget ("play1_run") { play_caput._xscale = 65; play_caput._yscale = 65; play_time = 0; this.play1_run.onEnterFrame = function() { this.play_time++; tellTarget (this) { if (play_time == 1) { clear(); play_caput._x = 17; play_caput._y = 5; lineStyle(3, 0x000000, 100); moveTo(15, 10); lineTo(7, 15); lineTo(2, 22); moveTo(15, 10); lineTo(20, 17); lineTo(28, 17); moveTo(15, 10); |