views:

586

answers:

1

Hi,

How can I set a progress bar that may start when an HTTPService is sent and stop when the HTTPService ends?

I followed code given here but encountered following error:

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

Don't know whether ProgressWin.mxml is a component or module or what. I just created a new ProgressWin.mxml file and pasted the code you posted but following error popped out before

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

Error:

Could not resolve to a component implementation.

+1  A: 

It appears that there is an extra space before each URL in the sample code. For example:

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

should be

<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" width="250" height="150" title="Progressive Window">
Phil Hayward
Thanks Phil for pointing this out for me. :)
baltusaj