My friends...
I am having troubles with my widget. It doesn't display the custom landscape (it works flawlessly on my desktop)...
I get the message "Landscape load error...you probably need to update the crossdomain.xml"..
The .xml file has been updated...
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cros ... policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" secure="true"/>
</cross-domain-policy>
I have uploaded the crossdomain file in the root directory of my webspace
The 'landscapes' directory with the appropriate subdirectory and .ywl + .png are also there
I changed the html file to point to the right file on my webspace...
This is how my html file reads...
<div style="width:750px; height:500px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="750"
height="500">
<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars"
value="location_id=gn:321580&location_name=Belek&landscape=http://users.telenet.be/wdragone/landsc ... 0x1050.ywl&time_form
at=24&us=metric&background=#FFFFFF©right_bar=false"
/>
<a href="http://yowindow.com?client=widget&link=stub"
style="width:750px;height:500px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50%
50%;"
>Windows weather</a>
</object>
</div>
<div style="width: 750px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
<span
style="float:left;"><a target="_top" href="http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; text-decoration:none;" title="Desktop
weather">YoWindow.com</a></span>
<span style="float:right; color:#888888;">Forecast by <a href="http://yr.no" style="color: #2fa900; text-
decoration:none;">yr.no</a></span>
</div>
Perhaps there is something wrong with the html code...
I've been working @ this for 2 days now...and getting pretty desperate...
If someone in here were able to help...it would be greatly appreciated...
You can see for yourself that the landscape won't load @ http://users.telenet.be/wdragone/Widget.Grida.html
Thanks...
Custom Landscape Will Not Load In Widget
Custom Landscape Will Not Load In Widget
Wally©...
(Ignorance can easily be overcome...Stupidity is 4ever...)
(Ignorance can easily be overcome...Stupidity is 4ever...)
-
- Posts: 1645
- Joined: Wed Nov 18, 2009 9:58 am
- Location: Vienna, Austria
Re: Custom Landscape Will Not Load In Widget
As the crossdomain.xml is read by flash maybe 2 lines are missing in it according to the post from Pavel (the xml-type and doctype-definition).
Could you please try that and tell us if that helps?
Could you please try that and tell us if that helps?
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
Re: Custom Landscape Will Not Load In Widget
Thx...very much...
I update the crossdomain.xml file...
Now all I get is the actual weather data (warning has gone) and forcast...
No custom picture nor animation...it's just blank...
I fiddled around with the html file yesterday...
This is how it looks now...
<div style="width:750px; height:500px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="750" height="500">
<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars"
value="location_id=gn:321580&location_name=Belek&landscape=http://users.telenet.be/wdragone/landsc ... _bar=false"
/>
<a href="http://yowindow.com?client=widget&link=stub"
style="width:750px;height:500px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>Windows weather</a>
</object>
</div>
<div style="width: 750px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
<span style="float:left;"><a target="_top" href="http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; text-decoration:none;" title="Desktop weather">YoWindow.com</a></span>
<span style="float:right; color:#888888;">Forecast by <a href="http://yr.no" style="color: #2fa900; text-decoration:none;">yr.no</a></span>
</div>
I am convinced it's the html code...
Again...thx for your reply...
I update the crossdomain.xml file...
Now all I get is the actual weather data (warning has gone) and forcast...
No custom picture nor animation...it's just blank...
I fiddled around with the html file yesterday...
This is how it looks now...
<div style="width:750px; height:500px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="750" height="500">
<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars"
value="location_id=gn:321580&location_name=Belek&landscape=http://users.telenet.be/wdragone/landsc ... _bar=false"
/>
<a href="http://yowindow.com?client=widget&link=stub"
style="width:750px;height:500px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>Windows weather</a>
</object>
</div>
<div style="width: 750px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
<span style="float:left;"><a target="_top" href="http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; text-decoration:none;" title="Desktop weather">YoWindow.com</a></span>
<span style="float:right; color:#888888;">Forecast by <a href="http://yr.no" style="color: #2fa900; text-decoration:none;">yr.no</a></span>
</div>
I am convinced it's the html code...
Again...thx for your reply...
Wally©...
(Ignorance can easily be overcome...Stupidity is 4ever...)
(Ignorance can easily be overcome...Stupidity is 4ever...)
- Don
- Posts: 687
- Joined: Tue Sep 14, 2010 12:14 am
- Name: Don
- Location: Roseville, California, United States of America
- Contact:
Re: Custom Landscape Will Not Load In Widget
Hi Wally,
I hate to be the bearer of bad news, but your site appears to be on a shared domain which means you probably don't have access to the root directory where crossdomain.xml must go.
Maybe you can ask Herman if his offer to host landscapes is still good. --> http://yowindow.com/forum/viewtopic.php?f=18&t=1331
Don
I hate to be the bearer of bad news, but your site appears to be on a shared domain which means you probably don't have access to the root directory where crossdomain.xml must go.
Maybe you can ask Herman if his offer to host landscapes is still good. --> http://yowindow.com/forum/viewtopic.php?f=18&t=1331
Don
Re: Custom Landscape Will Not Load In Widget
Thx Don...
I just sent Herman a pm requesting for his assistance in the matter...
I think there's also something wrong with the html code itself...
Any help, if possible, is welcome..
Thx...
I just sent Herman a pm requesting for his assistance in the matter...
I think there's also something wrong with the html code itself...
Any help, if possible, is welcome..
Thx...
Wally©...
(Ignorance can easily be overcome...Stupidity is 4ever...)
(Ignorance can easily be overcome...Stupidity is 4ever...)
Re: Custom Landscape Will Not Load In Widget
Hi Wally
this is the code
---------------------------------------
<div style="width:750px; height:500px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="750" height="500">
<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars"
value="location_id=gn:321580&location_name=Belek&landscape=http://hermanz.nl/yowindow/landscape/wa ... _bar=false"
/>
<a href="http://yowindow.com?client=widget&link=stub"
style="width:750px;height:500px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>Windows weather</a>
</object>
</div>
<div style="width: 750px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
<span style="float:left;"><a target="_top" href="http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; text-decoration:none;" title="Desktop weather">YoWindow.com</a></span>
<span style="float:right; color:#888888;">Forecast by <a href="http://yr.no" style="color: #2fa900; text-decoration:none;">yr.no</a></span>
</div>
--------------------------
I have converted the file to swf
the location is
http://hermanz.nl/yowindow/landscape/wa ... 0x1050.ywl
gr.
Herman
this is the code
---------------------------------------
<div style="width:750px; height:500px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="750" height="500">
<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars"
value="location_id=gn:321580&location_name=Belek&landscape=http://hermanz.nl/yowindow/landscape/wa ... _bar=false"
/>
<a href="http://yowindow.com?client=widget&link=stub"
style="width:750px;height:500px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>Windows weather</a>
</object>
</div>
<div style="width: 750px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
<span style="float:left;"><a target="_top" href="http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; text-decoration:none;" title="Desktop weather">YoWindow.com</a></span>
<span style="float:right; color:#888888;">Forecast by <a href="http://yr.no" style="color: #2fa900; text-decoration:none;">yr.no</a></span>
</div>
--------------------------
I have converted the file to swf
the location is
http://hermanz.nl/yowindow/landscape/wa ... 0x1050.ywl
gr.
Herman
- Attachments
-
- widget.grida.zip
- (778 Bytes) Downloaded 369 times
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
- Don
- Posts: 687
- Joined: Tue Sep 14, 2010 12:14 am
- Name: Don
- Location: Roseville, California, United States of America
- Contact:
Re: Custom Landscape Will Not Load In Widget
Somehow an extra quote mark (highlighted in red above) made it into your code.hermanz wrote: <param name="flashvars"
value="location_id=gn:321580&location_name=Belek&landscape=http://hermanz.nl/yowindow/landscape/wa ... 0x1050.ywl"&time_format=24&us=metric&background=#FFFFFF©right_bar=false"
/>
Here is the code Herman provided minus the extra quote.
Don
Code: Select all
<div style="width:750px; height:500px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="750" height="500">
<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars" value="location_id=gn:321580&location_name=Belek&landscape=http://hermanz.nl/yowindow/landscape/wally/1680x1050.ywl&time_format=24&us=metric&background=#FFFFFF©right_bar=false" />
<a href="http://yowindow.com?client=widget&link=stub" style="width:750px;height:500px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;">Windows weather</a>
</object>
</div>
<div style="width: 750px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
<span style="float:left;"><a target="_top" href="http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; text-decoration:none;" title="Desktop weather">YoWindow.com</a></span>
<span style="float:right; color:#888888;">Forecast by <a href="http://yr.no" style="color: #2fa900; text-decoration:none;">yr.no</a></span>
</div>
Re: Custom Landscape Will Not Load In Widget
A big thanks to Herman and Don...
It works flawlessly now...
http://users.telenet.be/wdragone/Weather_Belek.html
I wish I had my own server so I could use much more landscapes...and locations...
Anybody know of a free or inexpensive hosting service with flexible crossdomain.xml hosting ?
It works flawlessly now...
http://users.telenet.be/wdragone/Weather_Belek.html
I wish I had my own server so I could use much more landscapes...and locations...
Anybody know of a free or inexpensive hosting service with flexible crossdomain.xml hosting ?
Wally©...
(Ignorance can easily be overcome...Stupidity is 4ever...)
(Ignorance can easily be overcome...Stupidity is 4ever...)
Re: Custom Landscape Will Not Load In Widget
Hi Wally
no thanks
A cheap provider is http://hosting2go.nl .
1) 30 euro a year.
2) a own domain name
3) 2,5 Gb webspace
4) 30 Gb trafic per month
gr.
Herman
no thanks
A cheap provider is http://hosting2go.nl .
1) 30 euro a year.
2) a own domain name
3) 2,5 Gb webspace
4) 30 Gb trafic per month
gr.
Herman
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )