1

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 ?

trrrrrrm
  • 11,362
  • 25
  • 85
  • 130

1 Answers1

1

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.

Anthony Pegram
  • 123,721
  • 27
  • 225
  • 246
Gausie
  • 4,291
  • 1
  • 25
  • 36
  • i know that this is the best solution but i'm don't know very much in flash do you know how to load the SWF file in another SWF ? Thanks – trrrrrrm Dec 18 '09 at 11:34
  • that looks awesome thanks, but how can i change the new SWF dimensions to be the same loaded one ? – trrrrrrm Dec 18 '09 at 12:00
  • You'll need to change the child SWF size, you can't change an external SWF on the fly, although you can resize the container using Javascript. Give it a good googling – Gausie Dec 18 '09 at 12:47