2009-11-10 66 views
0

如何設置HTTPService發送時可能啓動的進度條,並在HTTPService結束時停止進度條?Flex HTTPService進度條

我跟着給here代碼,但遇到了以下錯誤:

Type was not found or was not a compile-time constant: ProgressWin.

不知道ProgressWin.mxml是一個組件或模塊或者是什麼。我剛剛創建了一個新的ProgressWin.mxml文件並粘貼您發佈的代碼,但

之前,下面的錯誤彈出
<mx:TitleWindow xmlns:mx=" http://www.adobe.com/2006/mxml" width="250" height="150" title="Progressive Window"> 

錯誤:

Could not resolve to a component implementation.

回答

2

看來,沒有在每個URL前的額外空間示例代碼。例如:

<mx:TitleWindow xmlns:mx=" http://www.adobe.com/2006/mxml" width="250" height="150" title="Progressive Window"> 

應該

<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" width="250" height="150" title="Progressive Window"> 
+0

感謝菲爾指出這一點對我來說。 :) – baltoro 2009-11-16 11:57:17