PDA

View Full Version : Replacing User Registration button with Flash Image


mmgTony
08-24-2008, 05:36 AM
I'm trying to replace my vB3.7.2 registration link with a flash image. can someone tell me how to encapsulate this flash image by this htmp/php ?

This is original:
<if condition="$show['registerbutton']">
<a href="register.php$session[sessionurl_q]" rel="nofollow">
<img src="{if}/registerHeader.png" alt="" /></a>
</if>
</if>

This is my flash image:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="145" height="117" id="register" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="register.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="register.swf" quality="high" bgcolor="#ffffff" width="145" height="117" name="register" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

thx

Dismounted
08-24-2008, 07:42 AM
<if condition="$show['registerbutton']">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="145" height="117" id="register" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="register.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="register.swf" quality="high" bgcolor="#ffffff" width="145" height="117" name="register" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</if>
</if>

mmgTony
08-24-2008, 03:33 PM
Dismounted i tried that code and it does replace my original image but the link to register screen does not work. I guess i was not clear explaining what i was doing.

thx

Dismounted
08-25-2008, 07:22 AM
What do you mean "it doesn't work"? What happens?