This content has been marked as final. Show 9 replies
is your onLoad method executing?
yeah the onLoad method executes..
as you can see i've got a trace in there too, and its all fine, the PHP returns "passed". but the swf wount execute the gotoAndStop command for some reason..
just for fun check this.response.length to see if there's any white space after "passed" from the php script.
Hey I think you may be onto something here, im getting 7, where it should be 6
but i dont know where tho...
heres the line:
"white space" is just a normal -space- (spacebar) right??
it can be blank but it's more commonly a carriage return or new line. i pass my strings like that through my trimF function to get what i expect:
I'm sorry, i have no idea what you mean.. =(
i did trace again (minus .length ) and i hilighted the response, where i did find that there is indeed a new line in the response..
as for the code you gave, where exactly am i supposed to call that function?
i have NO idea what that code says..
i tried it in the onLoad method, but it still returned 7.
whoaaaa... you're on a roll again tonight... you've got answers all over the forum..
i bet this is like a game to you by now... trying to beat the previous night's answers. =)
Thanx alot dude.. I can always rely on you to set me straight, and give me more things to learn.
much appreciated as always.
well back to work i go.. then try to learn your code, and read the links LuigiL gave me earlier. =)
cya dude, happy answering!! =)