Here is an itemRenderer for a TileList, a simple custom
component (not an inline renderer). I'm having problems accessing
properties in the main application file.
The code works fine, now what I need to do is get the value
of 'locale', which is set in the main application where the tile
list is used. So the first line of the code, I think should be
private var locale:String = outerDocument.locale;
'locale' is set as a public var in the main application.
The compiler error is 'Access of undefined property
outerDocument', but according to the Flex docs this should work.
Just in case, I have also tried: Application.locale,
Application.application.locale, parentDocument.locale and several
other with no success.