2012-12-11 86 views
0

的Flex 4.6 BusyIndi​​cator控件缺少

<fx:Declarations> 
    </fx:Declarations> 

    <s:BusyIndicator> 
    </s:BusyIndicator> 

錯誤消息是=>無法解析{}到一個組件實現。

任何想法如何解決這個問題?

我使用Flex SDK 4.6

回答

2

BusyIndicator是針對移動設備的組件。如果您使用FlashBuilder,請確保您的項目是一個移動項目。無論如何,您必須確保mobilecomponents.swc位於類路徑中。

如果您想在非移動項目中使用此組件,我認爲您可以簡單地將mobilecomponents.swc添加到構建路徑,並且您應該可以使用它。以下是您可以如何add a library to the build path manually in FlashBuilder

這裏是關於在web項目中使用移動組件的另一篇文章:http://www.riagora.com/2011/08/flex-mobile-in-the-browser/

相關問題