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 


User Comments

custom preloader AS3
posted by ilanb on 2008-07-03

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.
custom preloader AS3
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 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