I have two functions that I want to run when my Flex 3 / AIR app starts up. I'm running into problems where the second function is firing off before the first one is complete. Both functions work fine by themselves, but I need the first function to complete before the other one starts.
How might we go about doing this? Is there some way to add an EventListener to the first function?