Hi y'all

I have two canvases name dgCanvas and txtCanvas
dgCanvas has a datagrid and txtCanvas has a list and some labels.

Depending on which item was click on the datagrid of dgCanvas, the value is
then pass on to a HTTPSservices to pull a XML doc that fills the list and
labels of txtCanvas.

I also set Move effect and easingFunction of the txtCanvas.

I would like to make the txtCanvas to slide out load the data into list and
labels and then slide in when ever user click on an new item on the datagrid
of dgCanvas.
I have try to hide and show the txtCanvas in the script section but it would
just hide it and not come back.

private function hideCanvas():void {
  txtCanvas.visible = false;
  loading xml doc using datagrid.selectedItem.id
  txtCanvas.visible = true;
}

I then try to set an delay on the visible = true;
.
private function hideCanvas():void {
  txtCanvas.visible = false;
  loading xml doc using datagrid.selectedItem.id
  setInterval(showFunc, 500)
}

private function showFunc():void{
  txtCanvas.visible = true
}

The whole app just starting to go berserk...
The list and label starting to automatically reload multiple times.... it
looked bad...

Any help would be great

Thanks



-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to