Skip to main content
Participant
June 25, 2012
Question

Spinning wait cursor

  • June 25, 2012
  • 2 replies
  • 493 views

Hi. I like to show simple spinning wait cursor or spinner when

initializing Stage3D

accessing SQLite

creating Instances

calling System.gc()

and so on.

I used enterFrame / Timer to try to rotate the spinner,

but the animation is not shown on an actual device

since AIR currently is not supporting UI thread.

I heard that it will be supported on next update or so though.

http://www.bytearray.org/?p=4423

But in a meattime, Is there any workaround?

This topic has been closed for replies.

2 replies

Mark.fromOP
Inspiring
June 26, 2012

Why not have it be an mc that you set to play while loading and then kill it when load is done?

Participant
June 26, 2012

I tried that also. But the mc seems not playing animation while accessing database.

I'm using  mxml View compoent with embedded images / swfs.

Does that solution supposed to work?