Jorge,
I've seen the whole article about the store. Thats why I was intimidated by the code... It's too advanced for me. I'll still try to implement your solution, but dont have the slightest idea on even where to start changing your code. I'm currently trying to make mine work as well using session_id, I already have most of it done, so its just a tiny little step.
I'm starting with a basic flash file that tries to play with session_id, just to see if it can work on flash. Can you give me a tip on this? I have this .php file:
<?php
session_start();
if( isset($_SESSION['$randomVariable']) ){
$_SESSION['$randomVariable']++;
} else {
$_SESSION['$randomVariable']=0;
}
echo "randomVariable=".$_SESSION['$randomVariable'];
?>
And I have a flash file with a dynamic text field with Var: randomVariable inside a Movie Clip called TextHolder. I created a button that attaches this movie clip and another button that removes it.
I use loadVariables("
http://www.sanum.com.pt/test.php",this); when the button is clicked.
When I publish it, I get 0 as expected when i click the "attach button". If i drag it to the browser and use flash inside the browser, I get a 0 initially. If i click on remove and then attach, it will still get a 0 instead of a 1. Shouldn't flash refresh the information? If I refresh the browser I get a 1 next time i click the button and so on.
What am I doing wrong? Is there a way to force flash to refresh itself?
Thank you for your help, specially since im taking things a bit off topic.