flash ,
, , , , , 。 , , q QQ:382273552
package {
import flash.display.MovieClip;
import fl.transitions.*;
import fl.transitions.easing.*;
import flash.utils.*;
public class Zoom_T extends MovieClip {
private var i:Number = 0;
public function Zoom_T():void {
setInterval(Play,2000);
}
public function Play():void {
// : Zoom
//TransitionManager.start(test_mc, {type:Zoom, direction:Transition.IN, duration:2, easing:None.easeNone});
// :Blinds
//TransitionManager.start(test_mc,{type:Blinds, direction:Transition.IN, duration:2, easing:None.easeNone, numStrips:20, dimension:0});
// :Fade
//TransitionManager.start(test_mc, {type:Fade, direction:Transition.IN, duration:2, easing:None.easeNone});
// :Fly
//TransitionManager.start(test_mc,{type:Fly, direction:Transition.IN, duration:3, easing:None.easeNone, startPoint:7});
// :Iris
//TransitionManager.start(test_mc, {type:Iris, direction:Transition.IN, duration:2, easing: None.easeNone, startPoint:5, shape:Iris.CIRCLE});
// :Photo
//TransitionManager.start (test_mc, {type:Photo, direction:Transition.IN, duration:1, easing:None.easeNone});
// :PixelDissolve
//TransitionManager.start(test_mc,{type:PixelDissolve,direction:Transition.IN,duration:2,easing:None.easeNone,xSections:100,ySections:100});
// :Rotate
//TransitionManager.start(test_mc, {type:Rotate, direction:Transition.IN, duration:1, easing:None.easeNone, ccw:true, degrees:90});
// :Squeeze
//TransitionManager.start(test_mc, {type:Squeeze, direction:Transition.IN, duration:10, easing:None.easeNone, dimension:1});
// / :Wipe
//TransitionManager.start(test_mc, {type:Wipe, direction:Transition.IN, duration:2, easing:None.easeNone, startPoint:1});
//TransitionManager.start(test_mc, {type:Squeeze, direction: Transition.IN, duration: 2, easing:None.easeNone, dimension: 1});
// 1:
//TransitionManager.start(test_mc, {type:Zoom, direction:Transition.IN, duration:2, easing:Bounce.easeOut});
// 2
//TransitionManager.start(test_mc, {type:Zoom, direction:Transition.IN, duration: 2, easing:Bounce.easeOut});
i ++;
myMovieClip.gotoAndStop(i);;
switch (i) {
case 1 :
TransitionManager.start(myMovieClip, {type:Blinds, direction:Transition.IN, duration:2, easing:None.easeNone, numStrips:10, dimension:0});
break;
case 2 :
TransitionManager.start(myMovieClip, {type:Blinds, direction:Transition.IN, duration:2, easing:None.easeNone, numStrips:10, dimension:1});
break;
case 3 :
TransitionManager.start(myMovieClip, {type:Fade, direction:Transition.IN, duration:2, easing:None.easeNone});
break;
case 4 :
TransitionManager.start(myMovieClip, {type:Iris, direction:Transition.IN, duration:2, easing:Strong.easeOut, startPoint:5, shape:Iris.CIRCLE});
break;
case 5 :
TransitionManager.start(myMovieClip, {type:Photo, direction:Transition.IN, duration:1, easing:None.easeNone});
break;
case 6 :
TransitionManager.start(myMovieClip, {type:PixelDissolve, direction:Transition.IN, duration:2, easing:None.easeNone, xSections:20, ySections:20});
break;
case 7 :
TransitionManager.start(myMovieClip, {type:Wipe, direction:Transition.IN, duration:2, easing:None.easeNone, startPoint:1});
break;
case 8 :
TransitionManager.start(myMovieClip, {type:Fade, direction:Transition.IN, duration:2, easing:None.easeNone});
break;
case 9 :
TransitionManager.start(myMovieClip, {type:Wipe, direction:Transition.IN, duration:2, easing:None.easeNone, startPoint:2});
break;
case 10 :
TransitionManager.start(myMovieClip, {type:Wipe, direction:Transition.IN, duration:2, easing:None.easeNone, startPoint:3});
break;
case 11 :
TransitionManager.start(myMovieClip, {type:Wipe, direction:Transition.IN, duration:2, easing:None.easeNone, startPoint:4});
break;
case 12 :
TransitionManager.start(myMovieClip, {type:Wipe, direction:Transition.IN, duration:2, easing:None.easeNone, startPoint:5});
break;
case 13 :
TransitionManager.start(myMovieClip, {type:Wipe, direction:Transition.IN, duration:2, easing:None.easeNone, startPoint:6});
break;
case 14 :
TransitionManager.start(myMovieClip, {type:Wipe, direction:Transition.IN, duration:2, easing:None.easeNone, startPoint:7});
break;
case 15 :
TransitionManager.start(myMovieClip, {type:Wipe, direction:Transition.IN, duration:2, easing:None.easeNone, startPoint:8});
break;
case 16 :
TransitionManager.start(myMovieClip, {type:Wipe, direction:Transition.IN, duration:2, easing:None.easeNone, startPoint:9});
break;
case 17:
TransitionManager.start(myMovieClip, {type:Squeeze, direction:Transition.IN, duration:2, easing:None.easeNone, dimension:1});
break;
case 18:
TransitionManager.start(myMovieClip, {type:Squeeze, direction:Transition.IN, duration:2, easing:None.easeNone, dimension:0});
break;
case 19:
TransitionManager.start(myMovieClip, {type:Zoom, direction:Transition.IN, duration:2, easing:Bounce.easeOut});
break;
case 20:
TransitionManager.start(myMovieClip, {type: Zoom, direction:Transition.IN, duration: 2, easing: None.easeNone});
break;
}
}
}
}