Hi,
This is what is currently happening with my code:
I make a call to a function on the first frame of my main timeline. Within that function there are some event listeners that listen for a certain object to be ADDED_TO_STAGE. After that call to the function on the first frame of my main timeline, I make another call to another function. But I only want the second function to start once the certain object I mentioned from the first function has been ADDED_TO_STAGE. And no, I can’t just put the second function call within the ADDED_TO_STAGE listener for reasons that would take too long to explain. So, basically, I need a way to stall the code on the main timeline from executing the second function call while the first function has not completely finished (including the call of the listener). I hope I explained this ok.
O and also, I don’t want to just throw down a timer or something. I need it to be efficient. Let me know if there is a way that I can create an event that listens for function completion. Thanks
icekube12jr