pbjpb
01-18-2002, 03:29 PM
hi
i use:
loadVariablesNum ("http://www.blahblah.com/e-card.php", 0, "POST");
when i send my vars to the ecard.php script so the sender can still see his card after it's sent. and the first time around it works great. so the sender can still see what they made on the screen right, and if they want to add items to the stage and send it again they can do so..but when they do that time whatever was on the screen now has a duplicate right on top of it in the reader.swf. but the new items not sent the first time are fine, only one copy of them is displayed. i figure it's something is this piece of code:
// if the layoutString exists, append data
if (layoutString != null) {
layoutString = layoutString+","+name+","+xpos+","+ypos;
} else {
// layoutString doesn't exist, create it
layoutString = name+","+xpos+","+ypos;
}
any ideas? thanks!
i use:
loadVariablesNum ("http://www.blahblah.com/e-card.php", 0, "POST");
when i send my vars to the ecard.php script so the sender can still see his card after it's sent. and the first time around it works great. so the sender can still see what they made on the screen right, and if they want to add items to the stage and send it again they can do so..but when they do that time whatever was on the screen now has a duplicate right on top of it in the reader.swf. but the new items not sent the first time are fine, only one copy of them is displayed. i figure it's something is this piece of code:
// if the layoutString exists, append data
if (layoutString != null) {
layoutString = layoutString+","+name+","+xpos+","+ypos;
} else {
// layoutString doesn't exist, create it
layoutString = name+","+xpos+","+ypos;
}
any ideas? thanks!