renartbrazil
Technical User
Two questions here. I have this in a Flash form using PHP to send the data to an email address.
How can I get it to also be able to TAB backwards like Shift+Tab does in most programs?
Also, can anyone tell me if there is something more code) that can be added to this that 'if the firstname text box does not contain anything' then play a movie clip popup type of thing stating to fill out that field?
on (keyPress "<Tab>") {
if (Selection.getFocus() == "_level0.firstname") {
Selection.setFocus("_level0.lastname");
} else if (Selection.getFocus()== "_level0.lastname") {
Selection.setFocus("_level0.cr1");
} else if (Selection.getFocus() == "_level0.cr1") {
Selection.setFocus("_level0.b1");
} else if (Selection.getFocus() == "_level0.b1") {
Selection.setFocus("_level0.m1");
How can I get it to also be able to TAB backwards like Shift+Tab does in most programs?
Also, can anyone tell me if there is something more code) that can be added to this that 'if the firstname text box does not contain anything' then play a movie clip popup type of thing stating to fill out that field?
on (keyPress "<Tab>") {
if (Selection.getFocus() == "_level0.firstname") {
Selection.setFocus("_level0.lastname");
} else if (Selection.getFocus()== "_level0.lastname") {
Selection.setFocus("_level0.cr1");
} else if (Selection.getFocus() == "_level0.cr1") {
Selection.setFocus("_level0.b1");
} else if (Selection.getFocus() == "_level0.b1") {
Selection.setFocus("_level0.m1");