WOW, love it!
Do you want win MCTE Collection Plus by JumpeyeComponents FOR FREE ?
Now you have 25 MCTE Patterns to rapidly create any kind of MovieClip transition effects photo slide shows and text animations.
Includes the MCTE V3 and the Loader Pro V3x.
I created a photo gallery for you that shows how to use this component with Actionscript 3.0 (a version is available also for Actionscript 2.0).
Of course, the beauty of this component is that you can easily create a gallery without writing a single line of code, and also perfect
for beginners or for those who want to save time.
How to win ?
The code I used:
package
{
import flash.display.*;
import flash.text.*;
import flash.events.*;
import flash.utils.*;
import com.jumpeye.Events.MCTEEvents;
public class Main extends MovieClip
{
private var image_classes:Array;
private var patternList:Array=new Array("Waves","SquareScale","Stripes","AlphaBars") ;
private var holder_mc:MovieClip;
private var intervalID:Number;
private var index:int=-1;
private var mcteTransitions:MCTE;
public function Main()
{
addEventListener(Event.ADDED_TO_STAGE,init);
}
private function init(evt:Event):void
{
removeEventListener(Event.ADDED_TO_STAGE,init);
image_classes=new Array("Caustic","Condensed","Dewdrop","Division"," Frozen","Fusion",
"FusionBlue","GoingUp","Jacks","Magma","Marine","P hotosynthesis");
createHolder();
createMCTE();
startNewTransition();
}
private function createHolder():void
{
holder_mc=new MovieClip();
holder_mc.name="holder_mc";
addChild(holder_mc);
}
private function createMCTE():void
{
mcteTransitions=new MCTE();
addChild(mcteTransitions);
mcteTransitions.transitionType="hide";
mcteTransitions.addEventListener(MCTEEvents.TRANSI TION_END, transitionEndHandler);
}
private function transitionEndHandler(evtObj:MCTEEvents):void
{
var timer:Timer=new Timer(1000,1);
timer.addEventListener(TimerEvent.TIMER,callStartN ewTransition);
timer.start();
}
private function callStartNewTransition(evtObj:TimerEvent):void
{
startNewTransition();
}
private function startNewTransition():void
{
clearInterval(intervalID);
if(mcteTransitions.transitionType=="hide")
{
if (holder_mc.numChildren > 0)
holder_mc.removeChildAt(0);
mcteTransitions._targetInstanceName = "";
index++;
if (index>3)
index = 0;
var image_class:Class=Class(getDefinitionByName(image_ classes[index]));
var imgData:BitmapData=new image_class(0,0);
var img:Bitmap=new Bitmap(imgData);
holder_mc.addChild(img);
trace(index+" - "+image_classes[index]);
mcteTransitions.transitionType = "show";
mcteTransitions.patternName = patternList[index];
mcteTransitions._targetInstanceName = holder_mc.name;
}
else
mcteTransitions.transitionType = "hide";
mcteTransitions.autoPlay = false;
mcteTransitions.preset = 1;
trace(mcteTransitions.patternName+" :: "+mcteTransitions.transitionType);
switch(mcteTransitions.patternName)
{
case "Waves":
mcteTransitions.gain = 50;
mcteTransitions.tweenDuration = 20;
break;
case "SquareScale":
mcteTransitions.gain = 50;
mcteTransitions.tweenDuration = 20;
break;
case "Stripes":
mcteTransitions.gain = 25;
mcteTransitions.tweenDuration = 15;
break;
case "AlphaBars":
mcteTransitions.gain = 25;
mcteTransitions.tweenDuration = 50;
if (mcteTransitions.transitionType == "show")
mcteTransitions.preset = 8;
else
mcteTransitions.preset = 7;
break;
}
mcteTransitions.transitionEffect(mcteTransitions.t ransitionType);
}
}
}
Flip effect example:
COME VINCERE IL COMPONENTE MCTE Collection Plus ?
Super easy... Just leave a comment in this post and Sunday, February 28 2010, FlepStudio will draw TWO comments at random.
The authors of the comments will win MCTE Collection Plus component.
Good luck !
WOW, love it!
Looks nice!
I already use a bunch of Jumpeye Components (thumbslider espe) - they've saved me a LOT of time and have amazing support (Claudio is the man).
Feeling lucky again! :)
This place has better odds than any casino ;-) Love this component!
Amazing, I want it !
I want it too!
thanks for all the great work
wm lombardo
I wanna win one of them
Bookmarks