Here’s where the problem is:
[font=courier new]loadVariablesNum(“connexionphp.php”, 0, “POST”);[/font]
Why? It’s quite simple, actually. You’re loading the variables into level 0, no matter if you call the [font=courier new]loadVariablesNum()[/font] function from level 501. You could either 1) use the [font=courier new]MovieClip.loadVariables()[/font] method, or 2) specify the correct level into which the variables should be loaded.