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

Loader Pro V3

(views: 4161)

The Loader Pro V3 is a professional loader that features scale modes (scale, crop, scale-crop, resize), align modes, built in preloaders and customized transition tweens. Here are all known issues for Loader Pro V3. If you have any questions that you think we should discuss here please let us know.



Create MCTE and Loader v3 using code

(2008-01-19 - views: 2590)

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";



User Comments

MCTE + Loader Pro V3 slide show as3
posted by juank2 on 2008-05-29

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


Login to post your comment login to post your comment



Back

Knowledge Base Search

Enter keywords bellow:
Advanced Search

Menu

Free Trial Versions

The trial versions do have a major limitation. They will ONLY run into debugger flash player versions, such as the Flash IDE player and the activeX FP used by developers.

Switch from Free Trial version to Full version.

You can switch from Trial to Full versions in a blink of an eye.
See this tutorial in order to find out how.

We accept Google Checkout

Google Checkout Acceptance Mark

Secured by VeriSign