Hi , in my website i have a flash animation when the user click on flash animation it will redirect to another website. During the redirection i need to pass different values in the url. Onclick event is done in flash action script, but i cant pass the valuses in url by using flash scripting. Is there is any way to combine both javascript and flash action script. Please help.... Thanks.
I am not sure I completely understand your situation, but let me suggest this: Flash CAN be used to redirect to other web pages, and can pass parameters. It is capable of both a POST and a GET. It can have the results of your call replace the current page in the browser, or to pop open a new page (or simply grab the results into your ActionScript variable so you can process it within your ActionScript). Look at the LoadVars built in ActionScript function. There are parameters to let you indicate what it is you want to do with the result (replace current page,open new page, etc.). If you do not have the parameters in your flash movie that you wish to send (that is, if the data is in your JavaScript), you can use the FSCommand function from within your ActionScript to call JavaScript code. Be warned that I have never tried to do this, but I understand that it is doable (and supposedly not very hard). I "believe" there are ways to pass data from JavaScript into Flash movies, but I have never used them. Hope something in this response helps...