Topic: NextBus Widget

I am interested in creating a NextBus widget.  NextBus (nextbus.com) shows the arrival/departure of buses in many cities (I use it in Chapel Hill, NC but they also have coverage for several cities in CA among others) and it would be cool to figure out how to get a set stop to show on the chumby.  Their standard display uses a java app but you can also pull data in simple html format using the wireless pages (in a table).  For instance:
http://www.nextbus.com/wireless/miniPre … s=scolsitt

My question (before I delve into programing in flash, etc): would this be possible to create given the data source?

Re: NextBus Widget

In lieu of this option, I wouldn't mind a widget that could deliver either text or a single jpeg image from a web page.  The image option would be useful for me to grab my local radar image (for example:
"http://wwwcache.wral.com/asset/weather/doppler5000/2006/08/07/1001055/doppler3-640x480.jpg).  I am sure that I could easily modify one of the webcam widgets for this but if there was a widget that I could just add to my chumby and then customize in the widget screen without any programing, that would be cool.  I am also thinking that this could be done in the rss reader if it had more options.

Re: NextBus Widget

It turns out that station also has a 320x240 image already built.  So the widget is easy.

Just create a new Flash movie, set the dimensions to 320x240, then add the following two lines of ActionScript to the first frame:

proxy = createEmptyMovieClip('_proxy',1);
proxy.loadMovie('http://wwwcache.wral.com/asset/weather/doppler5000/2006/08/07/1001055/doppler3-320x240.jpg');

Done! The widget is only 194 bytes!

Re: NextBus Widget

What is the proxy object?  Is that something built into the Chumby flash?  How can it be used?  Can  you use the proxy to load web pages without the crossdomain hassle?

Re: NextBus Widget

"proxy" is just the name of the variable into which I stored the the movie clip.  It could have been "foo".  I called it "proxy" because it stands in for the movie until it is replaced by the one coming from the network.

Sorry, you're on your own on the crossdomain security issue smile

Re: NextBus Widget

Done and working!  Wow that was easy...I am now inspired to figure out more--thanks!