An AIR app has default theme compiled in & themes that may be loaded from the external swfs (css-based), that override the default.
Called StyleManager.loadStyleDeclarations with update=true, and then called getStyleDeclaration in the StyleEvent.COMPLETE handler for the dispatcher returned by the loadStyleDeclarations. Expected it to return a declaration from the new loaded theme, got one from the default theme instead.
The question is at what point it is safe to call getStyleDeclaration after loadStyleDeclarations to get the declarations from the loaded theme? Are there any other events to listen for that (haven't found this in documentation yet)?