Sidewinder

Exit

Closes all windows and terminates the application.

Parameters: none

Return Value: none

Example Usage

  Exit();
Mark Birbeck's picture

HOWTO: Running Adobe's Flexstore demo as a desktop application

Open a command prompt, and change to the Sidewinder directory. If you have installed Sidewinder in the default locations, then you can type this:

cd "\program files\sidewinder\viewer 2.0"

Now execute the following command:

swviewer2 http://examples.adobe.com/flex2/inproduct/sdk/flexstore/flexstore.html#meta(width=1010,height=610)

flex-store-command-prompt

Sidewinder will open as a basic Windows application with the Adobe Flash Flexstore demonstration running inside:

Sidewinder running Flexstore (Home)

Mark Birbeck's picture

HOWTO: A desktop web application to search Flickr

In this example we'll show how to convert a simple XHTML form into a desktop web application. In fact there is so little to it that it barely warrants a page...all you need to do is rename any HTML or XHTML document so that the file extension is .webapp--or deliver an application from a server with the MIME type application/webapp+xml--and Sidewinder will be triggered to open and run your document as a desktop web application.

Re-using Sidewinder components inside your own applications

Sidewinder is built using a component-based architecture that enables re-use of key components inside your own applications.

More ways to dock windows

NASA Feeds in the Sidewinder Viewer

The latest version of the Sidewinder Viewer provides more options for docking renderer windows from the JavaScript API. Notably, it is now possible to create Renderer objects as docked children of a larger Application object. This allows a user to close your entire application from a single top-level window and can also provide a more convenient grouping of related windows.

Source View colour schemes

In the latest release of the Sidewinder Viewer, you are able to alter the colour scheme used in the Source View tab. The option is available in 'Preferences > Source View'.

Switch Browsers

Since I am using Firefox as my default browser, Sidewinder opens my XForms in Firefox. I would like to be able to open my XForms with Internet Explorer using Sidewinder without changing the setting for the default browser. This could be done using an option element in a menu.
Thank you.
Bob Leif

Bubbling events beyond the document boundary

Backpack Reminders in the Sidewinder Viewer

We've just started developing a new sample for the Sidewinder Viewer which, among other things, demonstrates basic communication between a running script and the rendered document. The sample uses the Backpack web service, via its RESTful API, and is something that we shall continue to develop as the viewer becomes more powerful.

Mark Birbeck's picture

Time for a widget spring clean

Screenshot of analogue clock using SVG and XFormsEvery now and then, when I'm looking for something else, I stumble across a widget or an application that we've built using Sidewinder and formsPlayer, but for one reason or another we didn't get round to putting on the site. (Good old Google Desktop Search!)

UTF-8 encoded documents are not handled sanely

Something in our handling of UTF-8 encoded documents is incorrect, causing them to be treated as malformed (hence UTF-8 .webapps don't work, for example).