Well, when i run the code i get from armorbot( i replaced the variables) this is my code:
stop();
var Seconds:Number = 7
var myName:String = "Macco"
//Send Highscore AS3.0 // Armor Bot Rankz
var abrazor30Data:URLRequest = new URLRequest("http://rankz.armorbot.com/su bmit/as3_v0.php");
abrazor30Data.method = URLRequestMethod.POST;
var variables:URLVariables = new URLVariables();
variables.flashkey = "VVRWZEV1c1E=";
variables.SU0249 = "MjQ5OWolZSVhJW4lcw==";
//
variables.bmFtZTE = myName;//replace my_name1_variable with your name variable (1)
var verbs:Number = Seconds;//replace my_score1_variable with your score variable
var viper:String = verbs+"Z";
variables.c2NvcmUx = viper.split("0").join("U");
variables.c2NvcmUx = variables.c2NvcmUx.split("").join("A");
variables.c2NvcmUx = variables.c2NvcmUx.split("AU").join("Y")
;
variables.c2NvcmUx = variables.c2NvcmUx.split("A1").join("B")
;
variables.c2NvcmUx = variables.c2NvcmUx.split(".").join("N");
//
abrazor30Data.data = variables;
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.TEXT;
loader.addEventListener(Event.COMPLETE, dataOnLoad);
loader.load(abrazor30Data);
function dataOnLoad(evt:Event) {
trace(loader.data.msg);
}
//END
I get the errors:
1046: Type was not found or was not a compile-time constant: URLRequest.
1046: Type was not found or was not a compile-time constant: URLVariables.
1046: Type was not found or was not a compile-time constant: URLLoader.
1180: Call to a possibly undefined method URLRequest.
1120: Access of undefined property URLRequestMethod.
1180: Call to a possibly undefined method URLVariables.
1180: Call to a possibly undefined method URLLoader.
1120: Access of undefined property URLLoaderDataFormat.
I have no idea why. When i run the code in a blank document i get something else, then i get the error.
ReferenceError: Error #1069: Property msg not found on String and there is no default value.
at Untitled_fla::MainTimeline/dataOnLoad()
at flash.events::EventDispatcher/dispatchEv entFunction()
at flash.events::EventDispatcher/dispatchEv ent()
at flash.net::URLLoader/onComplete()
Why is that? i really have no idea,
Someone please help. Thank you.
macco