On 27 Jan 2006 at 10:28, Max Carlson wrote:
>
> I've attached an html wrapper page that shows the noScale stretches
> being applied. Let me know if you have any questions. Thanks!
So .. adopting flashobject.js .. .. from here .. http://blog.deconcept.com/flashobject/ ..
in lieu of embed.js .. the HTML wrapper page would look like this? ....
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="SHORTCUT ICON" href="">
<title>OpenLaszlo Application</title>
<style type="text/css">
html, body { margin: 0; padding: 0; height: 100%; }
body { background-color: #ff0000; }
</style>
<!--
using flashobject.js for swf embed script .. instead of OpenLaszlo embed.js
flashobject from here .. http://blog.deconcept.com/flashobject/
-->
<script src="" type="text/_javascript_"></script>
</head>
<body>
<div class="embed_lzx" id="embed_lzx">
<p>This is replaced by the OpenLaszlo Flash content.</p>
</div>
<script type="text/_javascript_">
var url = "">
var name = "lzapp";
var width = "100%";
var height = "100%"
var version = 7;
var bgcolor = "#ff0000";
var fo = new FlashObject(url, name, width, height, version, bgcolor);
fo.addParam("quality", "high");
fo.addParam("scale", "exactfit");
fo.addParam("salign", "LT");
fo.addParam("menu", "false");
fo.addParam("name", name);
fo.addParam("id", name);
fo.addVariable("canvasscale", "showAll");
fo.write("embed_lzx"); // write Flash object into div container "embed_lzx"
</script>
</body>
</html>
_______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
