Results 1 to 2 of 2

Thread: how to add link to this swf button using html?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2005
    Posts
    1,907

    how to add link to this swf button using html?

    Hi all . could any one show me how i can add a link to swf button using htmly only ? i want be redirected to a perticuler page once i click the button2.swf. Looking forward for replies.Thanks

    PHP Code:
    <p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
    align="baseline" border="0" width="108" height="46"><param
    name
    ="movie" value="button2.swf"><param name="quality"
    value="high"><embed src="f./button2.swf" align="baseline" border="0" width="108" height="46" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"><font face="Arial"> </font></a></object><font face="Arial"> </font></p

  2. #2
    Frenzied Member
    Join Date
    Apr 2009
    Location
    CA, USA
    Posts
    1,516

    Re: how to add link to this swf button using html?

    You can't do it with HTML. Flash is a browser plugin and doesn't get treated like a normal DOM element.

    Wherever you obtained the button from should have some documentation of vars (such as a URL to go to onclick) you can pass to the swf. Or if you made it yourself and have the source (.fla) file, you'll need to add in some Actionscript.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width