Could someone explain to me simply how to connect flash with my server and vice versa?
My flash movie takes a var from the URL string:
<param name="movie" value="product_info.swf?products_id=918">
and
<embed src="product_info.swf?products_id=918"...>
Getting the value of products_id is easy but I want to send the var products_id to a php page, do some mySQL on it and return the results to my flash movie. I'm using loadVariables (or sendAndLoad) but nothing comes back. I know the scripts are ok as i've tried to send the vars by getURL("page.php","_blank","POST") and it works but loadVars() doesn't. Thanks in advance!
My flash movie takes a var from the URL string:
<param name="movie" value="product_info.swf?products_id=918">
and
<embed src="product_info.swf?products_id=918"...>
Getting the value of products_id is easy but I want to send the var products_id to a php page, do some mySQL on it and return the results to my flash movie. I'm using loadVariables (or sendAndLoad) but nothing comes back. I know the scripts are ok as i've tried to send the vars by getURL("page.php","_blank","POST") and it works but loadVars() doesn't. Thanks in advance!