You need to declare your class variables before you use them:
class GameObject extends MovieClip {
var little_stars_mc:MovieClip;
var game_number:Number;
function GameObject() {
game_number = 1;
little_stars_mc.gotoAndStop("game" + game_number);
}
}
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com