Creating objects for Scenarios: Weather

Wednesday, March 26, 2008 by DArnaez | Discussion: DesktopX

I spent some hours trying to create a weather object for a new scenario but I have some problems... and I need to know if someone of your can help me with this.
1) I began loading the widget "Silica Weather"... I had my image for the background and I suppose everything was easy... but not.
2) My image es more large (in eight) than the original... so my image it appeared short.
3) I search in the script and the properties of each component... and finally I could to enlarge the image... but.. after that... the 4 forecast days was missed. This was the first problem....
I said... ok... we will go with only the current day and delete the other days in the list.

The other big problem is that, each time that I reboot, I need toset my zip code. Apparently the system doesn't save the zip code that I set. How can I fix these problems?


Thanks in advance.

bilbo1930
Reply #1 Wednesday, March 26, 2008 3:37 AM
Dario: open widget with builder, click on object navigator , choose weather_image then edit script. You'll see:
011 Widget.Preference("location").defaultvalue = "here put your code"

like "48152" to "USNY0996" or any if you want..
Then save and apply script, then choose all object, and export as widget...
DArnaez
Reply #2 Wednesday, March 26, 2008 4:54 PM
yes, I know... but the problem is that this object it will be part of a DesktopX theme for sell, so I don't want the clients must do the same for to fix their zip codes.

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01