Hello Sergey,
Thursday, November 23, 2006, 11:49:48 AM, you wrote:
> What is the best way to create in place image download progress
> indicator?
Fastest, is two Canvases and two states
States:
-----
<mx:states>
<mx:State name="imageState">
<mx:RemoveChild target="{loading}" />
<mx:SetProperty target="{img}" name="visible" value="true"/>
</mx:State>
</mx:states>
Image
-----
<mx:Image id="img" alpha="1" complete="completeLoad()">
// when the image has finished loading switch to the imageState
private function completeLoad() : void {
currentState = "imageState";
}
--
Best regards,
Andriy mailto:[EMAIL PROTECTED]