Actually don't worry, I discovered I needed to add this at the beginning:
And then change the code to:Actionscript Code:var u:String = 'SCastleExit';
Just thought I'd post that for othersActionscript Code:} else if (lvlArray[i] == 'SCastleExit'){
//mcCastleExit
var newPlacementu:mcCastleExit = new mcCastleExit();
CastleExitHolder.addChild(newPlacementu);
}![]()




Reply With Quote