We help IT Professionals succeed at work.

How to show flex preloader explicitly?

sanginfotech
sanginfotech asked
on
Medium Priority
684 Views
Last Modified: 2013-11-11
Hello all experts,
When a SWF file is getting downloaded we all see inbuilt preloader which shows the progress. is there any way to control this preloader? i am not talking abt customizing the preloader. I need to know if developer can explicitly show this preloader while some data is getting fetched or some lage image is getting downloaded?

Thnx in advance.
Strider
Comment
Watch Question

Commented:
Hi

The loader you are talking about is specifically for the initial load of the SWF.  You would have to write your own loader, and use it as you are loading assets.

-null-

Author

Commented:
Hey null.
Can u give me an idea on how to do tht?  I am a newbee to flex? if u can post a sample code tht'll be great..

Thnx
Commented:
Hi

http://livedocs.adobe.com/flex/3/html/help.html?content=controls_20.html

This adobe document details the usage of the progress bar component, along with how to link it to the progress of an image loading.  You could put this component in a titleWindow or similar and show it on load.  If you wanted to hide everything on the screen and just have the progress bar, you could use states, although these are beyond the scope of a simple post here.

-null-

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.