Just to make sure, when you say "our websites", are you talking about the Scratch website or one that you have?
With regards,
ErnieParke
Offline
There is no way to make them a SWF file, but it is possible to embed the Flash player in HTML:
<object type="application/x-shockwave-flash" data="http://scratch.mit.edu/static/misc/Scratch.swf" width="482" height="401" id="flashplayer" style="visibility: visible; position: relative; margin-left: 4px; z-index: 1000; "> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowFullScreen" value="true" /> <param name="flashvars" value="project=http://scratch.mit.edu/static/projects/[project creator username]/[project id].sb" /> </object> <script type="text/javascript"> //<![CDATA[ var flashapp = document.getElementById('flashplayer'); function JSsetPresentationMode(fillScreen) { if (fillScreen) { var r = flashapp.getBoundingClientRect(); flashapp.style.left = -r.left + 'px'; flashapp.style.top = -r.top + 'px'; flashapp.style.position = 'relative'; var h = window.innerHeight; if (typeof(w) != 'number') { // If IE: w = document.documentElement.clientWidth; h = document.documentElement.clientHeight; } setPlayerSize(w, h - 10); } else { flashapp.style.position = "inherit"; setPlayerSize(482, 387); flashapp.style.left = flashapp.style.top = '0px'; } } function setPlayerSize(w, h) { var isFirefox = navigator.userAgent.toLowerCase().indexOf("firefox") > 0; if (isFirefox) w += 1; if (navigator.appName == 'Microsoft Internet Explorer') { flashapp.style.width = w; flashapp.style.height = h; } else { flashapp.width = w; flashapp.height = h; } }
For the part where it says
value="project=http://scratch.mit.edu/static/projects/[project creator username]/[project id].sb
, if the URL is "http://scratch.mit.edu/projects/jvvg/3028968", then you would use
value="project=http://scratch.mit.edu/static/projects/jvvg/3028968.sb
Offline