have you seen the docs about it? http://www.openlaszlo.org/lps4.7/docs/reference/lz.splash+as2.html http://www.openlaszlo.org/lps4.7/docs/reference/lz.splash_view.html
There are also dozens of topic in the forums: http://www.google.de/search?q=splash+site%3Ahttp%3A%2F%2Fforum.openlaszlo.org%2F&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:de:official&client=firefox-a Sebastian 2010/3/24 cem sonmez <[email protected]> > Hi > Something is going strange when I try to use a swf as a resource of a view. > in $lps-home/laszlo-explorer directory > > If I try to use the initializing.swf as a resource like : > <view resource="./initializing.swf" align="center"/> everthing seems > fine, the swf is being shown > > But when I try another swf, loading.swf, with the same way > <view resource="./loading.swf" align="center"/> nothing is being > shown, although there is no compilation or debug error about this. > > lps version : 4.7.0 > > Btw, I will use a swf as a splash screen for the application. I think > I need to something on the html wrapper in onloadstatus, right? > > <script type="text/javascript"> > lz.embed.swf({url: 'application.lzx?lzt=swf&lzr=swf10', > allowfullscreen: 'false', bgcolor: '#ffffff', width: '100%', height: > '100%', id: 'lzapp', accessible: 'false'}); > > lz.embed.lzapp.onloadstatus = function loadstatus(p) { > // called with a percentage (0-100) indicating load progress > } > > lz.embed.lzapp.onload = function loaded() { > // called when this application is done loading > } > </script> > > Is there any snippet that is about loading a swf as a splash screen? > > > Thanks in advance > Kind regards > > -- > Cem SONMEZ > -- Sebastian Wagner http://www.webbase-design.de http://openmeetings.googlecode.com http://www.laszlo-forum.de [email protected]
