Knowledge Base |
Important! All new questions are usually answered within the next business day.
Loader Pro V3
(views: 3655)
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: 1086)
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 How to create your own preloader Loader scale modes and alignment Create loader with AS2 MCTE + LoaderProV3 + Multiple transitions Bitmap smoothing 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 XMLMenu |
|
|

