« IPhone Launch TV Live - Powered by Mogulus | Main | Assigning a default style for your custom styles »

Using mx_internal namespace

When extending Flex's built-in components, you might need to use 'mx_internal' namespace, to call the methods in the super class which are declared with 'mx_internal' namespace.

There are two ways to do this.

1. Import mx.core.mx_intertnal class and add 'use namespace mx_internal;' script just below your 'import' statements.
2. Otherwise, you can explicitly call the method by prefixing 'mx_internal::' before the method.

Happy coding!

TrackBack

TrackBack URL for this entry:
http://www.subbusos.com/cgi-bin/mt-tb.cgi/14

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on July 5, 2007 3:39 PM.

The previous post in this blog was IPhone Launch TV Live - Powered by Mogulus.

The next post in this blog is Assigning a default style for your custom styles.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 3.34