Log in

View Full Version : Flash Button



Johnnymushio
06-14-2006, 10:25 PM
How do I replace form buttons with flash buttons that do the same things as the form buttons?

Original Buttons


<input type="submit" value="Send">


<input type="submit" value="Log In">


<input type="button" onclick="showPicker(this, event);" value="Choose...">



Example Flash Button


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100" height="22">
<param name="movie" value="generalchatsend.swf">
<param name=quality value=high>
<embed src="generalchatsend.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100" height="22"></embed>
</object>

BLiZZaRD
06-16-2006, 09:51 AM
To use Flash buttons you just put the "instructions" on the button IN Flash and then publsh the .swf to your site, call the .swf on the page, and there you go.

You don't need external coding for buttons in Flash. Otherwise you could just use animated .gif's :D

~BLiZZ

djr33
06-17-2006, 09:59 AM
You could try javascript interaction with flash. Google that.