I am still getting the same issue though.
Code: Select all
private function SetSFSUserVars(userXML:XML)
{
trace("CALLING SetSFSUserVars===================");
var userVars:Array = [];
for(var i=0; i < userXML.Msg.avatar.decal.length(); i++)
{
userVars.push(new SFSUserVariable("pXML", String(userXML.Msg.avatar.decal[i].filename)) );
trace("CHECK THIS!!!!: " + userVars + "AND THIS: " + userXML.Msg.avatar.decal[i].filename);
}
global.sfsUserVars = userVars;
global.smartFox.send(new SetUserVariablesRequest(userVars);
}
Still comes up with this issue:
NIGE CALLING SetSFSUserVars===================
CHECK THIS!!!!: [UVar: pXML, type: String, value: mc_male_pants001]AND THIS: mc_male_pants001
CHECK THIS!!!!: [UVar: pXML, type: String, value: mc_male_pants001],[UVar: pXML, type: String, value: mc_face001]AND THIS: mc_face001
CHECK THIS!!!!: [UVar: pXML, type: String, value: mc_male_pants001],[UVar: pXML, type: String, value: mc_face001],[UVar: pXML, type: String, value: mc_female_hair001]AND THIS: mc_female_hair001
CHECK THIS!!!!: [UVar: pXML, type: String, value: mc_male_pants001],[UVar: pXML, type: String, value: mc_face001],[UVar: pXML, type: String, value: mc_female_hair001],[UVar: pXML, type: String, value: mc_male_shirt003]AND THIS: mc_male_shirt003
TypeError: Error #1010: A term is undefined and has no properties.
With the remote debugger the pXML0, pXML1, pXML2, and pXML3 are all of type 'String'. So that's correct. They're generally saying things like mc_male_pants001, and that's it. I'm not quite sure what the issue is now...