Keeping user informed on GroupingCollection.refresh status


hi,

i trying update contents of label control during refresh of groupingcollection.

this isn't working however, label text not change until gc has completed refresh.

can suggest doing wrong?

cheers,

nick


"nickuk007" <webforumsuser@macromedia.com> wrote in message
news:gi59gi$4vn$1@forums.macromedia.com...
> hi,
>
> trying update contents of label control during refresh
> of
> groupingcollection.
>
> isn't working however, label text not change until gc
> has
> completed refresh.
>
> can suggest doing wrong?
>
> cheers,
>
> nick
>
>
> servicesgc.addeventlistener(collectionevent.collection_change,on_collection_chan
> ge);
>
> private function on_collection_change(e:collectionevent):void
> {
> //if(e.kind == collectioneventkind.refresh)
> {
> progresslabel.text = "please wait...";
> }
> }

the collection change event dispatched when collection _has_ changed,
not @ start of collection change, afaik.




More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62