• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Running an AS function after data is retrieved

Guest
Sep 07, 2010 Sep 07, 2010

Copy link to clipboard

Copied

Hi, I have an application which gets data from a database using php. I would like the data that is retrieved with a creationComplete call to be used in another function which also is called automatically when the application is opened. This causes nothing to be displayed because the second function is called before the data has been retrieved.

Is there a way of delaying a function until after the data has been successfully downloaded, or calling the function as a consequence of the successful data retrieval? As it is, I have to use a button to call the second function which I would like to run automatically.

Thank you

Views

300

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 07, 2010 Sep 07, 2010

Copy link to clipboard

Copied

LATEST

This appears to be a Flex question. Please try the Flex forums here http://forums.adobe.com/community/flex/flex_general_discussion


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines