Digital Media Suite API Forums

« Back to Digital Signs API Forum

How to use weather widget

Combination View Flat View Tree View
Threads [ Previous | Next ]
I have a weather widget with many components such swf,xml,css files but i dont know how to use it to design with DMD.Can you tell me how to use them ?
Attachments: Weather_widget_DMP4310 & 4400.zip (839.8k)

You'll need to host the swf, css and XML files on a web server and then set up DMD to pull the SWF file in a playlist. If your XML files are on the same domain as your SWF file, you won't have a problem. If your XML is remote, then you'll need to set a cross domain policy, which is described here http://kb2.adobe.com/cps/142/tn_14213.html

Once you have the widget installed on a web server, you should be able to test it directly from a normal web browser.
 
 
 
 

Michael Juarez:
You'll need to host the swf, css and XML files on a web server and then set up DMD to pull the SWF file in a playlist. If your XML files are on the same domain as your SWF file, you won't have a problem. If your XML is remote, then you'll need to set a cross domain policy, which is described here http://kb2.adobe.com/cps/142/tn_14213.html

Once you have the widget installed on a web server, you should be able to test it directly from a normal web browser.
 
 
 
 
Thanks so much for your help, i ask many persons all the time but no one can solve this. But if you dont mind,can you suggest me few steps to host a swf file in IIS 7 that was built - in Window server 2008 ? 
 

Surely. It's pretty straightforward.

Assuming you already have a site set up in IIS, you simply need to FTP the
files to your server. I would create a special directory for this. Once you
do that, you'll have a url like
http://your_ip/Weather_widget/Weather_widget.swf You can then test the
flash file in your browser by navigating to that URL.

I tried out the flash file, and you'll need to get weather information from
the yahoo site according to the directions. At first, the widget didn't
work. I noticed the XML file had a question mark at the beginning, and I
removed that. Once I did that, the flash file was able to consume the XML
data.

Once you have the URL, in DMD, you can create a blank presentation. Then,
create a playlist, "All Media Types". The playlist will appear on your
canvas. Double click on the playlist to open it. Then click "Add URL" Put
in the URL of your flash file, click OK, and then save. You'll then need to
push the presentation out to your DMPs, or a test DMP, if you have one
available.

The zip package includes the cross domain XML file. You'll need to FTP this
file to your web site root directory, if you don't already have a cross
domain policy XML file installed. The XML file included allows all domain
access. You can edit this in the XML file if you want to add restrictions.

Good luck.

-Michael




On Sun, Mar 24, 2013 at 11:42 PM, Cisco Developer Community Forums <
cdicuser@developer.cisco.com> wrote:

> Tran Thang has created a new message in the forum "Digital Signs API
> Forum": --------------------------------------------------------------
> Michael Juarez:
> You'll need to host the swf, css and XML files on a web server and then
> set up DMD to pull the SWF file in a playlist. If your XML files are on the
> same domain as your SWF file, you won't have a problem. If your XML is
> remote, then you'll need to set a cross domain policy, which is described
> here http://kb2.adobe.com/cps/142/tn_14213.html
>
> Once you have the widget installed on a web server, you should be able to
> test it directly from a normal web browser.
>
>
>
>
> Thanks so much for your help, i ask many persons all the time but no one
> can solve this. But if you dont mind,can you suggest me few steps to host a
> swf file in IIS 7 that was built - in Window server 2008 ?
>
> --
> To respond to this post, please click the following link:
> http://developer.cisco.com/web/dms/forums/-/message_boards/view_message/13462655or simply reply to this email.

Oh,i really appreciate your advice,it works well but now i must fix some problems with this widget,some characters are not good enough, my honest,thank you so much and have a good time