2010/3/24 Sebastian Wagner <[email protected]>:
> 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
>
 I am aware of these docs, forgot to say that I am talking about swf10
enviroment.
And I have looked at the forum as well.
Thanks

> Sebastian
>
> 2010/3/24 cem sonmez <[email protected]>
>>

>> 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]
>



-- 
Cem SONMEZ

Reply via email to