Skip navigation
SunilDM4U
Currently Being Moderated

flex for mobile - busy indicator not working when followed by a code

Feb 21, 2013 11:17 AM

Tags: #flex-mobile #as3 #flex #android #spark #flex4.5 #flex4.6

Hi,

 

  I have a simple scenerio, I have a part of code which takes like 20 seconds to compete , hence I want to show a busy indicator at that time.

 

 

Busy indicator works fine, If indicator.visible = true/false is followed bu nothing. but some thing like below wont workk...

 

indicator.visible = tue;

 

  do the heavy work

 

indicator.visible = false;

 

<as3 code>

 

testid.setVisible = true;

                                        obj = ce.getContacts();

 

testid.setVisible = false;

 

</as3 code>

<mxml code>

                           <s:BusyIndicator id="testid" x="129" y="208" width="44" height="43" visible="false"/>

</mxml code>

 

The same scenerio if i use Cursor Manager, I understand thet as3 is not multi threaded but this is simple scenerio.. am i doing som ething wrong here ?

 

Message was edited by: SunilDM4U

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points