this is my first post, so first off all sorry for any bad
I have some code that makes a login system in flash with PHP.
Well the problem is that when i click de submit button when
registering a new user, flash wont go to the frame i want (just
stands in the same frame), still the user is registered in the
Try this code.
I'm not positive it would work but I think the problem is
that you put the loadvars within the function (?). I don't know if
that'll cause any problems but I assumed it would.
In addition to that, I'm not sure if anything in error might
be returned. My assumption is that it should be undefined. But then
again, it might be null, not undefined. So, just to make sure, I
included to check if user != "ok".