png to swf image conversion
png to swf image conversion
I did this conversion twice, but result is allways a white sky - allthough it is transparent in the png.
If I try to load the original png in the web widget, the result is a complete white pic.
Why is that?? Help please!!
http://www.agnik.de/weather.php
If I try to load the original png in the web widget, the result is a complete white pic.
Why is that?? Help please!!
http://www.agnik.de/weather.php
- par
- Posts: 8736
- Joined: Mon Sep 21, 2009 11:56 am
- Name: Pasha
- Location: Saint-Petersburg, Russia
- Contact:
Re: png to swf image conversion
The conversion has worked for me.
I wonder why it has failed in your case.
I have attached the result swf file.
http://www.agnik.de/images/yoagnik.swf is not opened inside YoWindow because you are passing an SWF file, but you need to pass .ywl file.
Do you need help with .ywl file construction?
I wonder why it has failed in your case.
I have attached the result swf file.
http://www.agnik.de/images/yoagnik.swf is not opened inside YoWindow because you are passing an SWF file, but you need to pass .ywl file.
Do you need help with .ywl file construction?
- Attachments
-
[The extension swf has been deactivated and can no longer be displayed.]
Re: png to swf image conversion
Hmm -seems I got the same result. (lower compression)
But what else did I wrong?? Here my code:
(Seems like I need help with the .ywl file as there is none working yet):
If I put .ywl above, nothing loads at all...
But what else did I wrong?? Here my code:
(Seems like I need help with the .ywl file as there is none working yet):
Code: Select all
<landscape name="Agios Nikolaos" type="picture" id="myid">
<data src="yoagnik.swf" horizonLevel="900">
<about>AgNik Harbour</about>
</data>
</landscape>
Code: Select all
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="600" height="400">
<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:261604&location_name=Ag.Nikolaos&time_format=24&unit_system=metric&background=#FFFFFF©right_bar=false&landscape=http://www.agnik.de/images/yoagnik.swf"
/>
<a href="http://yowindow.com?client=widget&link=stub"
style="width:600px;height:400px;display: block;text-indent: -50000px;font-size: 0px;-moz-background-clip:border;-moz-background-inline-policy:continuous;-moz-background-origin:padding;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>Weather widget</a>
</object>
- par
- Posts: 8736
- Joined: Mon Sep 21, 2009 11:56 am
- Name: Pasha
- Location: Saint-Petersburg, Russia
- Contact:
Re: png to swf image conversion
.ywl looks good assuming the horizon level is correct.
The problem is that you refer .swf in the widget markup, but to make the landscape displayed you need to pass a link to .ywl file.
NOW, bad
landscape=http://www.agnik.de/images/yoagnik.swf
MUST BE, good
landscape=http://www.agnik.de/images/yoagnik.ywl
The problem is that you refer .swf in the widget markup, but to make the landscape displayed you need to pass a link to .ywl file.
NOW, bad
landscape=http://www.agnik.de/images/yoagnik.swf
MUST BE, good
landscape=http://www.agnik.de/images/yoagnik.ywl
Re: png to swf image conversion
Hmm, think I got all correct now,
In the .ywl file the src is the .swf file.
In the call the landscape is set to the .ywl file.
But now nothing loads :?
Thanks for your help!!
In the .ywl file the src is the .swf file.
In the call the landscape is set to the .ywl file.
But now nothing loads :?
Thanks for your help!!

- par
- Posts: 8736
- Joined: Mon Sep 21, 2009 11:56 am
- Name: Pasha
- Location: Saint-Petersburg, Russia
- Contact:
Re: png to swf image conversion
You are welcome!
The landscape is not loaded because there is one more thing required to make it work.
You need to put crossdomain.xml file on your server.
Our tutorial explains how to do it properly.
http://yowindow.com/widget_and_landscape
The landscape is not loaded because there is one more thing required to make it work.
You need to put crossdomain.xml file on your server.
Our tutorial explains how to do it properly.
http://yowindow.com/widget_and_landscape
Re: png to swf image conversion
Oh, I did that - here it is:
http://www.zorbas.de/crossdomain.xml
Thing is, that agnik.de is a subfolder of http://www.zorbas.de/agnik/
http://www.zorbas.de/crossdomain.xml
Thing is, that agnik.de is a subfolder of http://www.zorbas.de/agnik/
Re: png to swf image conversion
Made it! that was the problem: Call is now landscape=http://www.zorbas.de/agnik/images/yoagnik.ywl and it works!