What parameters should be passed to server script

  • makhan
  • Novice
  • Novice
  • makhan
  • Posts: 31

Post 3+ Months Ago

Hi I am using this drawing example to select some shape on a image in the webpage.

http://www.actionscript.org/resources/a ... Page1.html

I want to tell the server side script what shape I have selected. What parameters I can pass to the server side script to tell it what has been selected

  • johnix
  • Newbie
  • Newbie
  • johnix
  • Posts: 10

Post 3+ Months Ago

try to do it using variables.. every object or shape you will select should have its own identification.. and when you click that object the value will put on the variable and send it to the server side...

try this code...
this cose is for flash
var pass = new LoadVars();
pass.its_value = "Selected_oblect";

this code is for php
$getPass = $HTTP_POST_VARS['its_value'];

hope this can help you...

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 7 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.