In the <html><head>
of an HTML document that embeds a Flash Laszlo application,
add this line:
<script src="/embed-compressed.js" language="JavaScript" type="text/javascript"/>
At the location within the <html><body> where the application is to be embeded, add this line:
<script language="JavaScript" type="text/javascript"> lz.swfEmbed({url: '?lzt=swf', bgcolor: '#000000', width: '', height: ''}); </script>
where the url matches the URI that the application is served from, and the other properties match the attributes of the application's canvas.
DHTML applications must in addition make the following call in the page head:
<script language="JavaScript" type="text/javascript"> Lz.dhtmlEmbedLFC('/lps/includes/lfc/LFCdhtml.js'); <script>
lz.dhtmlEmbed
call instead of lz.swfEmbed
.
Copyright © 2002-2007 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.