[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 659
  • Last Modified:

How to show flex preloader explicitly?

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
0
sanginfotech
Asked:
sanginfotech
  • 2
1 Solution
 
-null-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-
0
 
sanginfotechAuthor 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
0
 
-null-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-
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now