[flexcoders] How do I trigger updateDisplayList() on *every* component in my Application?

2008-05-27 Thread robbarreca
I have an application with a bunch of nested containers and components. We are internationalizing this app (with ResourceModules) and when someone switches languages we need invalidateDisplayList() called on every child component of the app. Iterating through the Application's rawChildren doesn't

Re: [flexcoders] How do I trigger updateDisplayList() on *every* component in my Application?

2008-05-27 Thread Richard Rodseth
That would be the wrong approach. Take a look at Gordon's article: http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Runtime_Localization You'll see that you just need to change the locale chain of the resource manager. You already have a binding expression which invokes the