Loading external swfs extended from classes in the same shared codebase

Hey there!

I’m currently developing a game in flash and want to be able to divide up my .fla assets in a way that means artists can work on a game menu .fla in isolation from the game.fla and rest of the game code.

If I could briefly explain how I’ve approached this so far, I would be extremely if people could shout in my general direction and tell me I am stupid, or even better still, give me helpful advice as to where I am going wrong and how I can correct it!

My project is setup like this:

HighScoreMenu.fla -> document class HighScoreMenu extending GameMenu class.

game.fla ->document class game.as

game.as class loads the published HighScoreMenu.swf and manipulates the menu i.e. animates on and off screen via inherited functions in the GameMenu class.

Now this seemed to work to begin with, until my code evolved and upon going to publish my HighScoreMenu.fla flash started complaining about symbols being used in Game.as that were in Game.fla… If I’m only publishing the HighScoreMenu which extends from GameMenu then why is it even looking to compile Game.as?

Can you spot the problem in the way I am doing this, or is there a better approach I should try?

Any advice greatly appreciated!

Stevie.