Knowledge Base |
Important! All new questions are usually answered within the next business day.
Loader Pro V3
(views: 4769)
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-01-22 - views: 1841)
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 loaded 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.play();
Stop an animation: myLoader.content.stop();
Call a function defined in the content clip: myLoader.content.myFunction();
The attached example uses the loader to load an animation that has a function defined in it.
Files: LoaderAccessContent.zip
Start an animation: myLoader.content.play();
Stop an animation: myLoader.content.stop();
Call a function defined in the content clip: myLoader.content.myFunction();
The attached example uses the loader to load an animation that has a function defined in it.
Files: LoaderAccessContent.zip
User Comments
It is for AS2
The example above it is for AS2. For AS3 you would do this a little differently: http://www.jumpeyecomponents.com/knowledgebase/Loader-Pro-V3/Access-the-loader%27s-content~324/.
posted by negush on 2008-04-14
The example above it is for AS2. For AS3 you would do this a little differently: http://www.jumpeyecomponents.com/knowledgebase/Loader-Pro-V3/Access-the-loader%27s-content~324/.
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 How to create Loader Instance with AS3? Access the loader's content 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 |
|
|

Hi
how would you access the loader content with AS2 rather than AS3?
I've been playing with the thumbslider, thumblist an dthis an I can't figure out how to target the contenet that gets loaded in the loader.