Skip to main content
Known Participant
October 3, 2007
Question

Function not calling php script at all?

  • October 3, 2007
  • 1 reply
  • 243 views


Hi

my script has been set up with an asfunction function call from within a textarea to a function that sends a small xml file to a server side script (basketRemove.php)

the code is attached

i'm using charles to check what is happening between the server and flash and no call to the ./basketRemove.php script is ever made

hope you can help - did i do something dumb?

This topic has been closed for replies.

1 reply

allandtAuthor
Known Participant
October 3, 2007
apologies -
var sendItem:String = "<cartObject mode='remove' basketitemID='" +basketItemID+ "' />";

should have been

var XMLDoc:XML = new XML("<cartObject mode='remove' basketitemID='" +basketItemID+ "' />");