Forum Moderators: open

Message Too Old, No Replies

How to combine Flash and Javascript

         

gopal

4:36 am on Aug 10, 2007 (gmt 0)

10+ Year Member



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 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.
Reply With Quote

penders

2:14 pm on Aug 10, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You could call a JS function directly from flash that manages the redirect and the GET params.

Flash:

getURL("javascript:manageRedirect();");

manageRedirect() is your own JS function included in your HTML.