home *** CD-ROM | disk | FTP | other *** search
- tempscore = score;
- score *= multiplier;
- totalscore += score;
- stop();
- name_txt.restrict = "A-Z 0-9.:\\-";
- name_txt.text = playerName;
- Selection.setFocus(name_txt);
- Selection.setSelection(name_txt.length,name_txt.length);
- ok_btn.onRelease = function()
- {
- if(name_txt.length > 0)
- {
- _root.nextFrame();
- }
- };
- ok_btn.onKeyDown = function()
- {
- if(Key.getCode() == 13)
- {
- Key.removeListener(ok_btn);
- this.onRelease();
- }
- };
- Key.addListener(ok_btn);
-