PDA

View Full Version : (FMX) wright it then check it then get it ? help !



Millad
April 22nd, 2003, 03:55 PM
I whant to do this !

The visitor coms then he "type" dir in a "input text" then if the input text is "dir" it gos to frame "10" els stop !

I get when i test the movie _level0.script.script ????????

in action scrip I have this ==>


on (keyPress "Enter") {
if (script="dir") {
loadMovie("\"dir.swf\"", "contents");
if (script="") {
script="wright dir";
} else {
script="Type the word dir and press enter key";
}
}
}

NOTE:- The "input text" is "covertet "to a "Movie clip" becouse i canot add actions when it is just a input text feild !

when the visitor types the word dir it will load the movie dir.swf !

How how how ? and why do i get a message in the input text feild ?

Thank you very much for your help ! :tb:

Jubba
April 22nd, 2003, 04:19 PM
http://www.kirupa.com/developer/flash5/ifelse.htm