Calling an AS function after data is retrieved


hi,

 

i have application which  gets data database using php. data is  retrieved creationcomplete call used in function  called automatically when application opened. this  causes nothing displayed because second function called  before data has been retrieved.

 

is there way of  delaying function until after data has been successfully  downloaded, or calling function consequence of successful  data retrieval? is, have use button call second  function run automatically.

 

thank you

how did connect php server?

httpservice or urlloader...


you can add addeventlistener event handler(where u result), wait upto date retrieved.

if data retrieved succesfully means listener automatically call event handler, there u can call ur function



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい