Simple Text in Flex using ActionScript 3

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="" 

			import mx.controls.Text;
			private function init():void 		{			
				//Cretaing a Text in as3
					var simpleTxt:Text = new Text();		
					simpleTxt.horizontalCenter = 0; 		
					simpleTxt.verticalCenter = 0;			
					simpleTxt.text = "Hello World";
				//To display the text element

About Ajeeth Boaz

I am a freelance photographer you can find my clicks @ I am a Developer by profession, I like sharing my experience through blogs you can find it @

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: