tracer_bullet
03-18-2003, 03:17 PM
hi,
if i understood well, you want to check the value of a string while the user is typing and launch the appropriate action.
I think you've got the string being built as the user types.
why can't you put something like :
on(enterFrame)
{
if (string == value)
{
instructions
}
}
the string is updated on each new frame : string = string + new letters
and you check.
i hope this will help you
nb : If the flash tools for string are not complete enough, you can go on with php or asp but i think it wont be necessary.
if i understood well, you want to check the value of a string while the user is typing and launch the appropriate action.
I think you've got the string being built as the user types.
why can't you put something like :
on(enterFrame)
{
if (string == value)
{
instructions
}
}
the string is updated on each new frame : string = string + new letters
and you check.
i hope this will help you
nb : If the flash tools for string are not complete enough, you can go on with php or asp but i think it wont be necessary.