I'm trying to compile existing Flex 4 project but having an error:
Call to underfined method getStyleManager of StyleManager class.
The code is:
var styleManager:IStyleManager2 = StyleManager.getStyleManager(null);
I found the method in Flex documentation but when I open StyleManager.as I can't find the method declaration.
Used Flex SDK 4.0.0.10485 from here.