Hello!
I have some code that checks if a string (a user id) is not empty.
If the string does have some value, then I advance the playhead to the “loading” frame. Otherwise, just keep playing. The code is simple. It’s in frame 3 of my timeline:
stop();
if (sessionUserId != "") {
_global.username = sessionUserId;
gotoAndPlay("loading");
} else {
play();
}
This runs fine on my computer. However, on my co-worker’s machine, it never seems run the gotoAndPlay(“loading”) line, even though ‘sessionUserId’ has a value.
Does anyone know what might be happening? Is Flash skipping this frame?