Question
Whats wrong with this ActionScript 3?
I cant see whats wrong with this piece of ActionScript 3, its probably something really obvious...
function fl_SubmitConsoleButton(event:MouseEvent):void
{
var Command:String = consolecommand_txt.text;
switch (Command){
case "one" :
gotoAndStop(1);
break;
case "two" :
trace("Two has been executed");
break;
case "three" :
trace("Three has been executed");
break;
}
}
Thanks