# (FMX) wright it then check it then get it ? help!

**URL:** <https://forum.kirupa.com/t/fmx-wright-it-then-check-it-then-get-it-help/18939>\
**Category:** Uncategorized\
**Created:** [April 22, 2003, 7:55pm UTC](https://forum.kirupa.com/t/fmx-wright-it-then-check-it-then-get-it-help/18939 "2003-04-22T19:55:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wayne](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/wayne/32/16501_2.png) [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Post date:** [April 22, 2003, 7:55pm UTC](https://forum.kirupa.com/t/fmx-wright-it-then-check-it-then-get-it-help/18939/1 "2003-04-22T19:55:38Z")

</div>

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:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 22, 2003, 8:19pm UTC](https://forum.kirupa.com/t/fmx-wright-it-then-check-it-then-get-it-help/18939/2 "2003-04-22T20:19:39Z")

</div>

[http://www.kirupa.com/developer/flash5/ifelse.htm](http://www.kirupa.com/developer/flash5/ifelse.htm)
