Sample Webcam Widget

From Chumby Wiki
Revision as of 16:24, 5 November 2006 by 24.30.157.165 (Talk)

Jump to: navigation, search

samplecam_ss.jpg

FLA source file (requires Flash MX or later): samplecam.fla

This example file shows how to make a simple webcam widget that displays a JPEG image feed. This particular cam is showing the Turtle Bay Resort Spa on Oahu - this camera is actually under user control on their website, so you may see it move every now and then.

The server that is providing the the images *must* allow Flash access to that feed by using a "crossdomain.xml" file - you can read more about this at:

In this case, the cam was designed to be used from Flash, so the site has the proper permissions files. If you're attempting to pull a webcam feed from a server that does *not* support these permissions, you may not get any images - in that case, you'll need to provide a proxy server that does have the correct permissions which pulls the images from the webcam on behalf of the widget.

Other examples: