Due to Design Mode Problem, I used the approach in http://forums.adobe.com/thread/787529 (namely add a line of code in actionScriptProperties. Then I got several dozens of errors in the same type as: Description Resource Path Location Type The style 'backgroundColor' is only supported by type 'spark.components.BorderContainer' with the theme(s) 'spark, mobile'. HeaderControllerWidget.mxml /Flexviewer_Butler/src/widgets/HeaderController line 407 Flex Problem