This article gives an introduction to the Alert Control in Flex. You can get to know here how to pass a message or a title or even an icon to the Alert Control that you want to display when the user interacts with your application.
We can register Event Handlers and Listeners in more than one way. Let us take a look at a few of the methods that can be helpful while writing Events.
What are Events and Listeners?
Events are what make an application work. Actually, without Events, we cannot make an application. An Event can be described as anything from a mouse click to a return of a web service call.
Any user interaction with the application can be treated as an Event. It can be a mouse [...]
It is important to know that Flex is not here to replace ActionScript. Moreover, Flex and ActionScript complement each other. Though Flex provides several built in components, we should not forget that these components were actually built in ActionScript. Let us look at how ActionScript can be used in Flex.
The Flex software is built on the widely used Eclipse IDE. The Flex standalone software offers a wide range of advantages for its developers like code-hinting, design mode editing, drag and drop of components etc. Lets take a closer look at the Flex Builder and see what the advantages are…
So far, we have created a sample application, which does nothing as of now. Lets get into the code in depth and get a better understanding of Flex.
The following is the code we have entered in the application so far:
<?xml version=”1.0″ encoding=”utf-8″?>
<mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml” layout=”absolute”>
<mx:Panel x=”200″ y=”200″ width=”250″ height=”200″ layout=”absolute” title=”Hello World!!”>
<mx:Button x=”122″ y=”31″ label=”Click Here”/>
<mx:Label [...]
I will now show you a basic “Hello World” example in Flex 3.
Just so you know, you can download the trial version of Flex from the Adobe site. You can also go through the installation instructions and other great resources here.
Ok, lets get started!
Open the Flex 3 software
Note that you will have to work in [...]
Lets start off with Flex 3, an Adobe product to create Rich Internet Applications (RIAs) for the web and also for the Desktop (using AIR)
So, what is Flex?
Flex is a tool, a framework, from Adobe – through which one can create wonderful Web based or Desktop Applications. It uses MXML(Macromedia Extenible Markup Language), a markup [...]
Recent Comments