WeCodeThings Library
Library of code bits
Glossary    Contact Us
Need a web designer? visit WeCodeThings.Com for more details
Search  
   
Browse by Category

WeCodeThings Library .: Flex .: Add Flex 3 Custom Component to MXML Application within mx:Application tag



Add Flex 3 Custom Component to MXML Application within mx:Application tag

Custom components are great for breaking up your code within your Flex application into sub-parts of your application.

To add a custom component you will need to add it as an xml namespace in the parent’s root tag.

Within the src folder I created a folder called Assets, and within that folder I created a folder called components
Here is the line of code that you need to add to allow Flex to use your custom components.

xmlns:components="Assets.components.*"

 

Flex 3 Component Folder



How helpful was this article to you?

Related Articles

article Flex 3 Add Custom Error using the errorString to a TextBox or Any Object using Object.errorString Flex 3
You can add a custom error to any element o

  4-30-2009    Views: 1243   
article Flex 3 Create Remote Object Destination ColdFusion using ActionScript And MXML Flex 3
You can read more about Flex 3 and Remote...

(No rating)  4-30-2009    Views: 1034   
article Create Hyperlink to external or internal website in Flex 3 using LinkButton
The best way that I have found out to...

  4-9-2009    Views: 4895   

User Comments

Add Comment
No comments have been posted.




.: Powered by Lore .:Code by WeCodeThings Website Design and Development