Knowledge Base |
Important! All new questions are usually answered within the next business day.
Loader Pro V3
(views: 4768)
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.
Access the loader's content
(2008-02-07 - views: 1672)
Q: Can I access directly the content within the Loader component ?
A: The loader component has a property called content. This will give you a reference the Loader class instance that loaded the content. This means that you can get access to the elements found in the content (like variables, functions, movie clips) and you can event start or stop playing an animation.
Start an animation: myLoader.content.contentLoaderInfo.content.play();
Stop an animation: myLoader.content.contentLoaderInfo.content.stop();
Call a function defined in the content clip: myLoader.content.contentLoaderInfo.content.myFunction();
The attached example uses the loader to load an animation that has a function defined in it.
Files: LoaderAccessContent_AS3.zip
Start an animation: myLoader.content.contentLoaderInfo.content.play();
Stop an animation: myLoader.content.contentLoaderInfo.content.stop();
Call a function defined in the content clip: myLoader.content.contentLoaderInfo.content.myFunction();
The attached example uses the loader to load an animation that has a function defined in it.
Files: LoaderAccessContent_AS3.zip
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 How to create your own preloader Loader scale modes and alignment Bitmap smoothing Access the loader's content How to create Loader Instance with AS3? Preloader for a whole movie that has lots of Loader Pro V3s in it 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 |
|
|
