Hi deepak,
there are several ways of doing what you want...
1. in your html page, that calls the swf file: .../your_swf_file.swf?var1=value&var2=value ...
of course you need to urlencode() the value...
2. You can call a Script from Flash using the LoadVariables() Function, this can be a PHP Script that queries a db or similar and returns the values this way &var1=value&var2=value...
3. You can call a Script from Flash using the GetURL Function ... but this one is pretty useless, because the php-script gets loaded in the browser-window of the flash movie or a different browser window, but most of the time you only want the values in your flash movie and nothing else
...
The vars in case 1, are available on start of the flash movie, the vars in 2,3 are available in the movieclip you define as target for the function...
example for loadVariables()
loadVariables ("form.php3", root.whatever.your.movies_are.named, "POST");
what happens?
1. all vars of the movieclip you are currently in, are send to the php script called "form.php3" in the same directory as your swf-file, using the "POST" Method (you can use GET as well)
2. If the script "form.php3" returns any values, they are loaded into your movie clip root.whatever.your.movies_are.named ... in this movie clip you can use the onClipEvent(data) to determine the point, when all vars from the script are loaded in the movie clip.
Does that make sense ?!?! Don't really think so, but I got a terrible headache g so if there are still questions (if there are none, you probably given up), don't bother to ask!
But be warned, debugging in Flash really SUCKZ !!!
Hope that helps a bit...
cya Rob