Custom UI for Flash Components – Part 1 – Creating your UI

Part 1|Part 2|Part 3|Part 4
Flex Project File
This is the first in a multi-part series. I wish I could make this simpler, but the lack of documentation on how to do this properly let alone how to do it at all is astounding. I used Flex to create my UI, but any AS3 UI should work. This tutorial will use Flex:
Create a new Flex Project and name it MyComponentUI
Use the following code for your Application

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
				layout="absolute">
	<mx:TextInput id="buttonLabel"/>
</mx:Application>

Now, build your project by choosing Build Project from the Project menu.

All we’ve done is create a basic Flex Application with a single TextField named buttonLabel.
Part 1|Part 2|Part 3|Part 4
Flex Project File

Leave a Reply

Your email address will not be published. Required fields are marked *