My account
Shopping cart
Knowledge base
Support

Knowledge Base

Important! All new questions are usually answered within the next business day.

MCTE V3 (MovieClip Transition Effect V3)

(views: 36174)

A transition effect component with lots lots of flash animation effects already included and lots of patterns sold separately. Here are all known common issues for MCTE V3, the custom patterns are treated here too. If you have any questions that you think we should discuss here please let us know. Write to support.



Create MCTE and Loader v3 using code

(2008-01-19 - views: 21911)
Q: How does one apply mcte effects to objects loaded with Loaderv3 using actionscript 3.0 ?
A: The idea is to create the target object (in this case the loader) before the MCTE instance is created. If you create the MCTE instance using only the constructor. After that, simply set the parameters and it will work. Here is the code snippet that will create an instance of the loader component and then an instance of the MCTE component (using the constructor). Finally, some parameters of the loader will be set, then added to the display list and the source parameter set to load some content.

// Create the instances for the loader and the MCTE components.
var myLoader:LoaderProV3AS3 = new LoaderProV3AS3();
var scaleMCTE:MCTE = new MCTE(myLoader, false, "show", "Scale", 6, 16, "Back", "easeOut", 15);

// Set the loader's visibility property, because, when added by code,
// the MCTE component automatically turns visibility off for the loader
// component.
myLoader.visibility = true;

// Set the loader's size and position.
myLoader.setSize(605, 240);
myLoader.x = 10;
myLoader.y = 70;
// The transition type must be set to "MCTE" or "MCTEfade", otherwise
// the MCTE transition will not be applied.
myLoader.transitionType = "MCTE";

addChild(myLoader);

myLoader.source= "ExternalContent.swf";



Back