Archive for November 9th, 2006

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.

Live Example Here

You can right click on the swf to view the source.

3 comments November 9th, 2006



Disclaimer: I work as a Flash/Flex Developer for Adobe Systems Incorporated. The opinions expressed here represent my own and not those of my employer.

My Amazon.com Wish List

Calendar

November 2006
S M T W T F S
« Oct   Dec »
 1234
567891011
12131415161718
19202122232425
2627282930  

Posts by Month

Posts by Category


Flex.org - The Directory for Flex