Friday, May 6, 2011

How to access internal variables in Flex/Action Script 3?

Import the namespace mx_internal

//your existing imports
import mx.core.mx_internal;

Tell Actionscript that is a namespace
use namespace mx_internal;

Prefix the property name with mx_internal::
<instance>.mx_internal::<internal var/method>

No comments:

Post a Comment