Knowledge Base |
Important! All new questions are usually answered within the next business day.
MCTE V3 (MovieClip Transition Effect V3)
(views: 7817)
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: 1800)
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";
// 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";
User Comments
Login to post your comment
Other questions in this item:
MCTE + Loader Pro V3 slide show Apply 3D Cube transition without using actionscript Apply Flip transition using code how to instantiate the MCTE component through Actionscript MCTE is working, but not properly MCTE+Loader Pro+3DCube Apply 3D Cube transition using actionscript Multiple transitions using ActionScript code Apply the MCTE by pressing a button Transition between two movie clips using Blur 3D Cube effect Apply Flip transition with no code Remove MC after it plays Use SquareLight Transtion using AS to create slideshow Component Now Showing up in AS3? Multiple transitions using frame by frame animation Using animated movieClips tweenDuration:Number Using MCTE in a class based environment MCTE + LoaderProV3 + Multiple transitions Apply Flip transition using code MCTE V3 using videoclips Trial version message Solid Red Window Set up MCTE with a XML file Shadow to target clip Shadow to target clip Setup MCTE from .xml file MCTE hides text written with Arial from stage MCTE hides text written with Arial from stageMenu |
|
|


MCTE + Loader Pro V3 slide show as3
can you put an example of as3