shade7
03-03-2011, 01:42 AM
Hey All,
I'm doing this arcade-style shooter, single frame with multiple classes, in which the intro is part of the base "Engine" class. When the ship dies I have it set to clear stage, then stageRef.addChild(Engine.intro);
The stage clears for the most part, and the intro screen loads, but its on the last frame of its timeline, and its click function doesn't work. I think what's happening here is that I'm loading the intro movieclip, and not the actual function that makes everything work. How would I call up a function nested in the Engine class, through a command in the Ship class. Any ideas? As always thanks loads for any help...
I'm doing this arcade-style shooter, single frame with multiple classes, in which the intro is part of the base "Engine" class. When the ship dies I have it set to clear stage, then stageRef.addChild(Engine.intro);
The stage clears for the most part, and the intro screen loads, but its on the last frame of its timeline, and its click function doesn't work. I think what's happening here is that I'm loading the intro movieclip, and not the actual function that makes everything work. How would I call up a function nested in the Engine class, through a command in the Ship class. Any ideas? As always thanks loads for any help...