AS3 1050: Cannot assign to a non-reference value

Sunday, July 6, 2014

Hey guy's so am making this AS3 post request but am getting this error i don't see anything wrong the vars etc. is okay but am getting this error with the vars


AS3 1050: Cannot assign to a non-reference value.Cannot assign to a non-reference value.



var urlVars:URLVariables = new URLVariables();

urlVars.email = emailtext.text;
urlVars.fullname = "";
urlVars.pw = "";
urlVars.pw-conf = "";
urlVars.digest = 1;
urlVars.email-button = "Subscribe";


Those are the vars hope you can manage to find a fix the error vars are:


urlVars.email-button = "Subscribe";

urlVars.pw-conf = "";


Any help?


Thanks alot!







http://ift.tt/1vMJikG