Ok ive searched for so long on how to do this i simply want to use the
loadVars();
method to get a variable from a php script or even a .txt file… the thing is ive done this once before but i was using an actual php file hosted on some other server that was ALOT more than
<?php
$On = "On";
?>
im trying to do this so incase i want to turn off my flash (just delete or edit the php script from my private host so it would then not get the info and go to a blank frame)
ill give you my flash code here
stop();
On = new LoadVars();
On.sendAndLoad("URL rather not give it out" + getTimer(), On, "POST");
On.onLoad = function(success) {
if (success) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
please help me quickly