basic.html revision 43fe9bba01c587029abe1df7417e3ac10e2caccb
363N/A<!doctype html>
363N/A<html>
363N/A<head>
363N/A <title>SWF Tests</title>
363N/A <link type="text/css" rel="stylesheet" href="/build/logreader/assets/skins/sam/logreader.css" />
363N/A <script type="text/javascript" src="/build/yui/yui.js"></script>
363N/A</head>
363N/A<body>
363N/A<h1>SWF Tests</h1>
363N/A<div id="testdiv" style="height:400px;width:550px">
363N/AThis content will be replaced by an instance of a Flash player.
363N/A</div>
363N/A<script>
363N/A
363N/AYUI({
363N/A base: '/build/',
363N/A filter: "raw",
363N/A}).use('node', 'event-custom', 'swfdetect', 'swf', function (Y) {
363N/A
363N/Avar params = {version: "9.0.115",
661N/A useExpressInstall: false,
363N/A fixedAttributes:
363N/A {allowScriptAccess:"always", allowNetworking:"all", width:50},
363N/A flashVars:
363N/A {flashvar1: "One word", flashvar2: "A word & another", flashvar3: "Three words - 100% done & done"}
363N/A };
363N/A
363N/Avar newswf = new Y.SWF("#testdiv", "assets/Simple.swf?x=" + Math.floor(Math.random()*100000), params);
364N/Anewswf.on("swfReady", talkToFlash);
363N/A
363N/A
363N/Afunction talkToFlash (e) {
363N/A newswf.callSWF("addText", ["\nExternalInterface bridge is working.\n"]);
363N/A}
363N/A
363N/A});
363N/A
363N/A</script>
363N/A
363N/A</body>
661N/A</html>
661N/A