When the button is first pressed, I can see in my debugger the data LocalID has a value, but why doesn't it write to the _root.PrimaryID until I press the button a second time?
//////////////
submit1.onPress = function(){
getDatax.UniqID=UID;//Long string version of ID
getDatax.sendAndLoad("GetID.cfm", getDatax, "POST") ;
getDatax = new LoadVars()
getDatax.onLoad = function(){
if(this.writing=="Acquired") {
_root.PrimaryID=this.LocalID;
}}
}
Thanks in advance