Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
69 lines (68 sloc) 2.22 KB
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<meta http-equiv="pragma" content="no-cache">
<script type="text/javascript">
var testApp;
function init() {
var html = '';
var swfName = 'TestBasic.swf';
if (document.all) {
html = '<object type="application/x-shockwave-flash"' +
' width="100%" height="100%" id="testApp">' +
' <param name="movie" value="' + swfName + '">' +
' <param name="quality" value="high">' +
' <param name="bgcolor" value="#ffffff">' +
else {
html = '<embed id="testApp" height="100%" width="100%"' +
' name="testApp" src="' + swfName + '"' +
' type="application/x-shockwave-flash"/>';
document.getElementById('testAppContainer').innerHTML = html;
testApp = document.getElementById('testApp')
function wmClick(p) {
window.onload = init;
<style type="text/css">
body {
overflow: hidden;
<div style="width: 280px;">
<h2>Testin' Flash</h2>
<div>Here's a text input</div>
<div><input type="text" id="htmlTextInput" name="htmlTextInput" value=""/></div>
<div>Here's a select</div>
<select id="htmlSelect" name="htmlSelect">
<option>(Select a value)</option>
<option value="selectGeddy">Geddy Lee</option>
<option value="selectNeil">Neil Peart</option>
<option value="selectAlex">Alex Lifeson</option>
<div>Here are some radio buttons</div>
<input type="radio" id="radioGeddy" value="radioGeddy"/>&nbsp;Geddy
<input type="radio" id="radioNeil" value="radioNeil"/>&nbsp;Neil
<input type="radio" id="radioAlex" value="radioAlex"/>&nbsp;Alex
<div id="testAppContainer" style="width: 760px;
height: 340px; border: 1px solid #ccc;">
Jump to Line
Something went wrong with that request. Please try again.