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

Reply via email to