Topic: Help needed: Widget displaying JPEG-image on a Chumby One

Hello out there,
I would like to display a JPEG image on my Chumby One that is hosted on my local server and refreshed every five minutes. It is reachable via HTTP://<IP>/snapshot.jpg.
The widget should downscale the JPEG to chumby resolution and refresh every five minutes.
As I am not familiar with flash at all, I would appreciate a FLA-source that I can compile with my Adobe CS4.
Thanks for your support,
regards oliaros

Re: Help needed: Widget displaying JPEG-image on a Chumby One

This is very close to what you want:

http://wiki.chumby.com/index.php?title= … cam_Widget

Re: Help needed: Widget displaying JPEG-image on a Chumby One

Duane, I tried this one, but unfortunately this template does not scale the JPEG. And I could not remove the title...
oliaros

Re: Help needed: Widget displaying JPEG-image on a Chumby One

OK - if you know the image size and it's constant for all your images, you can put the loaded image into a parent MovieClip that's already scaled to correct the full image size to the correct size.

If they're not constant, you can load the JPEG, then have some code that reduces it to the correct size after it's loaded. There's another sample widget for Flickr, which has code that does this (in com/chumby/widgets/photostrip/Photo.as, function onLoadInit()).