Flex 2 Namespacing Methods and Properties Example
I came across the Namespace class while looking up some information about ActionScript 3.0′s E4X and XML. I didn’t know, will lets say, I didn’t make the connection between the Namespace class and using it with methods and properties of components. This example is very basic and is not meant to be a good use of namespaces. It shows how to use it for methods and properties.
In the example there is one method name and one property name to change a button from being rounded or square looking and being filled with red or blue colors.
You can right click on the swf to view the source.