Hiya
I have a screensaver which uses database communication to register it. I have it working up to a point. It sends the user info to my database fine, and tells it to send a "yes" or "no" response to a movieclip instance("response") in my registration screen. This too works fine. Here is where my problems start.
My movieclip is set to play with an onClipEvent (data) function when response is received. When this happens I have a dynamic text field with the same variable name(security). This displays the correct value("yes") on screen. I then have an if statement the same as this:

String (security);
if (security == "yes") {
play();
} else {
gotoAndStop("failed");
}

This obviously converts the variable to a string then exectes the if statement, however, regardless of the value, the movie always goes to "failed", even when if statement is "yes". I'm stumped. Remember this all happens within an mc instance named "response".
Someone please help before I lose my mind.

Scott