Knowledge Base |
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.
How to create your own preloader
(2007-09-19 - views: 1900)
Q: How can I use my own preloader with Loader Pro V3
A: Inside the attached archive you'll find two examples of how to use your own preloader. One example is for beginners and the second one is for intermediate actionscript skills.
Files: customPreloader.zip
Files: customPreloader.zip
User Comments
custom preloader AS3
The problem is that the MCTE component, as soon as it is added by code, it turns the loader component invisible. So, after the MCTE component instance is created, you need to turn the visibility of the loader back on. We've updated the example from our knowledge base, so now the preloader should be displayed: http://www.jumpeyecomponents.com/knowledgebase/MCTE-V3-(MovieClip-Transition-Effect-V3)/
Create-MCTE-and-Loader-v3-using-code~289/
posted by negush on 2008-07-04
The problem is that the MCTE component, as soon as it is added by code, it turns the loader component invisible. So, after the MCTE component instance is created, you need to turn the visibility of the loader back on. We've updated the example from our knowledge base, so now the preloader should be displayed: http://www.jumpeyecomponents.com/knowledgebase/MCTE-V3-(MovieClip-Transition-Effect-V3)/
Create-MCTE-and-Loader-v3-using-code~289/
Login to post your comment
Other questions in this item:
MCTE is working, but not properly MCTE+Loader Pro+3DCube Create MCTE and Loader v3 using code MCTE + LoaderProV3 + Multiple transitions Create loader with AS2 Loader scale modes and alignment Bitmap smoothing Access the loader's content Preloader for a whole movie that has lots of Loader Pro V3s in it How to create Loader Instance with AS3? Access the loader's content Accordion Panel communicates with a loader Borders for the loader content Set up loader with XML Loaded content starts playing while preloader still showing Loaded content starts playing while preloader still showingMenu |
|
|

I try to use preloader with AS3 but don't work :
// 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);
myLoader.addEventListener(LoaderEvents.LOAD,loadHandler);
function loadHandler(evt:LoaderEvents):void {
trace("LOAD"+evt.target + evt.success);
txtcharg.text = ("LOAD"+evt.target + evt.success);
}
//onUnload listener
myLoader.addEventListener(LoaderEvents.UNLOAD,unloadHandler);
function unloadHandler(evt:LoaderEvents):void {
trace("UNLOAD" + evt.target);
}
//onTransitionStart listener
import com.jumpeye.Events.LoaderEvents;
myLoader.addEventListener(LoaderEvents.TRANSITION_START,transitionStartHandler);
function transitionStartHandler(evt:LoaderEvents):void {
trace("TRANSITION_START" + evt.target);
txtcharg.text = ("TRANSITION_START" + evt.target);
}
//onTransitionEnd listener
myLoader.addEventListener(LoaderEvents.TRANSITION_END,transitionEndHandler);
function transitionEndHandler(evt:LoaderEvents):void {
trace("TRANSITION_END" + evt.target);
txtcharg.text = ("TRANSITION_END" + evt.target);
}
//onProgress listener
myLoader.addEventListener(LoaderEvents.PROGRESS,progressHandler);
function progressHandler(evt:LoaderEvents):void {
trace("PROGRESS" + evt.target);
txtcharg.text = ("PROGRESS" + evt.target);
}
// Set the loader's size and position.
myLoader.builtInPreloader="circle";
myLoader.preloaderColor = 0xFF0000;
myLoader.showPercentage = true;
myLoader.scaleMode="none";
myLoader.setSize(800, 700);
myLoader.x = 0;
myLoader.y = 0;
// 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= "intro.swf";
Can you put a exemple of custom preloader in AS3
Thanks a lot
I.