WindowedApplication Container in Flex4


 

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.

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 

Ads