Difference between revisions of "Widget Parameter Example"

From Chumby Wiki
Jump to: navigation, search
(New page: This example demonstrates how to upload and download widget parameters. Uploaded parameters are available to a widget swf (and configuration swf) at runtime as key/value pairs in _root. Yo...)
(No difference)

Revision as of 12:25, 6 March 2008

This example demonstrates how to upload and download widget parameters. Uploaded parameters are available to a widget swf (and configuration swf) at runtime as key/value pairs in _root. You may upload and download parameters from a configuration swf on chumby.com, or from a widget swf running on a physical chumby (code in this example applies to both scenarios). In this particular example, the configuration swf uploads two values. When the widget runs, if the values exist it displays them.

Source files (Flash 8): widget_parameters_example.zip