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
Post a Comment