how to add "Click" event to SWF file

1.5k views Asked by At

i have SWF file. i want to send the user to another page when he clicks the SWF file 1- i tried to wrap the SWF file with tag but it did not works 2- i tried to add javascript events like "onclick" but it didnot works too so i think the best solution is to make another SWF file that takes two parameters "hyperlink" and "SWF URL" it will load my SWF and when the user click it it will open the "hyperlink" but i have no idea how to do this

Is there any better solution ? if not do you have any idea how to do this in ADOBE FLASH ?

1

There are 1 answers

3
Gausie On BEST ANSWER

WHy not stretch a big invisible button across the SWF? If it's not your SWF, then make another flash file with a button over the top, and import the SWF you wanted in the first place.