Ag_Smith
10-16-2007, 11:27 AM
hey all
I have a problem with this code:
<view name="b_mc">
<attribute name="height" value="300"/>
<attribute name="width" value="260"/>
<handler name="oninit">
This.setSource('http://romahome.no-ip.org/lps-4.0.6/my-apps/XSPF.swf?action=play&playlist=http://romahome.no-ip.org/lps-4.0.6/my-apps/playlist.xml&folder=http://romahome.no-ip.org/lps-4.0.6/my-apps/&textcolor=033066&color=E6E9FB&loop=no&lma=yes' )
</handler>
</view>
it load
http://romahome.no-ip.org/lps-4.0.6/my-apps/XSPF.swf
but not pass param like this...
&playlist=http://romahome.no-ip.org/lps-4.0.6/my-apps/playlist.xml
&folder=http://romahome.no-ip.org/lps-4.0.6/my-apps/
& is equal to & but is needed by laszlo compiler to escape '&' in url
if I use the same string in html embedding it work fine ...
how to fix ?
I have a problem with this code:
<view name="b_mc">
<attribute name="height" value="300"/>
<attribute name="width" value="260"/>
<handler name="oninit">
This.setSource('http://romahome.no-ip.org/lps-4.0.6/my-apps/XSPF.swf?action=play&playlist=http://romahome.no-ip.org/lps-4.0.6/my-apps/playlist.xml&folder=http://romahome.no-ip.org/lps-4.0.6/my-apps/&textcolor=033066&color=E6E9FB&loop=no&lma=yes' )
</handler>
</view>
it load
http://romahome.no-ip.org/lps-4.0.6/my-apps/XSPF.swf
but not pass param like this...
&playlist=http://romahome.no-ip.org/lps-4.0.6/my-apps/playlist.xml
&folder=http://romahome.no-ip.org/lps-4.0.6/my-apps/
& is equal to & but is needed by laszlo compiler to escape '&' in url
if I use the same string in html embedding it work fine ...
how to fix ?