/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// basic switch/case syntax switch (langCode) { case "eng": // // do something here if langCode is "english" // break; case "spa": // // do something else here if langCode is "spanish" // break; default: // // do this default is langCode matches none // }