Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Use hidden form fields:

HTML:
<input type="hidden" name="val-1" id="val-1" value="flash_examples-all/celtro.swf" />
<input type="button" value="Button 1" size="30" onclick="showSWFPreview(document.getElementById('val-1').value)" /><br />

<input type="hidden" name="val-2" id="val-2" value="flash_examples-all/surecomp.swf" />
<input type="button" value="Button 2" size="30" onclick="showSWFPreview(document.getElementById('val-2').value)" />
 
buttons are ugly....

seems the buttons are pretty ugly so i prefer simple text links....I'm sure its a a simple change, and i went "googling" but the answers i'm getting all involve changing the text on the buttons (I'm obviously phrasing my question wrong)....so I'm back:

how to make the buttons in to simple text links but without the "box" around it.

http://www.spinnerdesign.co.il/flash_examples.html
 
HTML:
<input type="hidden" name="val-1" id="val-1" value="flash_examples-all/celtro.swf" />
<input type="text" value="Celtro 3D data       " size="30" onclick="showSWFPreview(document.getElementById('val-1').value)" /><br />
becomes
HTML:
<a href="flash_examples-all/celtro.swf" onclick="showSWFPreview(this.href); return false;">Celtro 3D data</a>
 
Your passing the function jpg, but it's expecting swf files. I think that's the issue.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.