Hands on Flex 3

One of my functions at work is developing websites, most of the cases with just XHTML+CSS but now i’m getting involved on the development of a flash-based and i’m learning Flex 3, an open source framework from Adobe for building flash applications. To start all you need is the free Flex 3 SDK (system requirements) and a text editor. You could also use Adobe Flex Builder, a Flex IDE that makes development a lot easier. Flex Builder is not free but you can check it out downloading the free trial.

If you choose not to use Flex Builder open your text editor because you’re about to create your first Flex application:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application
	xmlns:mx="http://www.adobe.com/2006/mxml"
	layout="vertical">
	<mx:Label text="Hello World!" />
</mx:Application>

Save the file as helloworld.mxml. I’m using linux, if that’s your case open your terminal and change to the bin directory of the Flex SDK and compile the file with the following command:

./mxmlc --strict=true --file-specs helloworld.mxml

On Windows type the command without “./”. The compiler will create the file helloworld.swf. And there you have, your very first Flex Application ready to go online:





Stay tunned for more.

0 comments

Please insert the result of the arithmetical operation from the following image
Enter the result of the arithmetical operation from this image