Skip to main content
September 7, 2006
Question

Text Input goes to Next Scene

  • September 7, 2006
  • 3 replies
  • 203 views
First of all -- I'm a basic Flash user with not much ActionScript experience. I normally use Flash for simple movies.

Now I have a not-too-simple problem <g>.

I have a text input component in one of the scenes, and I want a certain input to automatically move to the next scene. For example, I want the user to type in XYZ in the text input component -- and that should cause the next scene to be automatically loaded.

I am using Flash 8 Professional -- thank you so much.
This topic has been closed for replies.

3 replies

September 9, 2006
Thank you so much -- this worked!
September 8, 2006
oh i checked it , it was my mistake :/
problem is here ;

if(yourTextCompenent.text=="XYZ") here not ".Text" but ".text" (not capital letter)

try it pls
September 7, 2006
maybe it helps?;

this.onEnterFrame =function(){
if(yourTextComponent.Text=="XYZ"){
gotoAndPlay(12);
}


}
September 8, 2006
Thank you so much -- but that doesn't seem to be working -- I have uploaded the Flash file to:

http://www.freeppttemplates.com/files/text_textbox.zip

Can I request you to take a look?