Original Post
Hey Guys, I'm working on a game in action script and have it set up right now where... #1 - there is a main object that gets created that is going to be the base object of the entire game #2 - the first step is this main object creates a "titlescreen" object and adds it as a child to itself (both the main object and titlescreen object derive from sprite) #3 - my thought was that the title screen would load images (showing a loading bar etc) and as images loaded, it would tell the main object that an image was loaded so that the main object would keep the list of loaded images. #4 - i was also thinking that when images were finished loading, when the user clicks the "play" button, the titlescreen object would capture that event and let the main object know. the main object would then remove the titlescreen object as a child and continue on with the rest of the game. So... i was wondering... how can i get my titlescreen object to be able to call a function of my main object? Also i was wondering, is this a decent way to go about doing things or is there some better ways that i'm overlooking? Thank you!