Share on Google+Share on Google+

WindowedApplication Container in Flex4

Advertisement
The WindowedApplication container is an application container which is use to create Flex applications for AIR. The WindowedApplication container is used in desktop and window based applications.

WindowedApplication container in Flex4:

The WindowedApplication container is an application container which is use to create Flex applications for AIR. The WindowedApplication container is used in desktop and window based applications. It provide the desktop application-specific functionality and window-related functionality to the Flex Application container.it provides the entry point into the main application. The WindowedApplication container represents the first native window of the application. The WindowedApplication container works same as the Application container which is used in browser-based Application. The tag of WindowedApplicaton container is <s:/windowedApplicaton>.

Example:

<?xml version="1.0" encoding="utf-8"?>

<>

<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"

xmlns:s="library://ns.adobe.com/flex/spark"

xmlns:mx="library://ns.adobe.com/flex/mx">

<s:Label text="Hello World" x="27" y="16"/>

</s:WindowedApplication>

Output:

 

Download this code 

Advertisements

Advertisement

Posted on: May 11, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.