Hi, SWF loader is loading the swf file and when I minimize the swf loader by setting its width to 0 and expand it then it is not repainting.
Here is the code snippet i am using <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" x="0" y="0" width="100%" height="100%" paddingTop="0" paddingLeft="0" paddingRight="0" paddingBottom="0" verticalAlign="middle" verticalGap="0"> <mx:Script> <![CDATA[ /* Collapse : Expand Left Panel */ public function sizeSearchPanel():void { if (searchView.width<=0) { searchView.width=260; } else if (searchView.width>=0){ searchView.width=0; } } ]]> </mx:Script> <mx:HBox width="100%" height="100%" horizontalGap="0"> <mx:SWFLoader id="searchView" source="SearchComponent.swf" scaleContent="true" x="0" y="0" width="260" height="100%"/> <mx:VBox id="seperator" width="6" height="100%" verticalAlign="middle" horizontalAlign="center" horizontalGap="0" backgroundImage="@Embed(source='resources/togglebar.png')" top="2" bottom="2"> <mx:Button id="btnCloseSearch" width="6" height="43" toggle="true" selected="false" styleName="CollapseLeft" click="sizeSearchPanel()"/> </mx:VBox> <mx:Canvas id="tableView" width="100%" height="100%"/> </mx:HBox> </mx:VBox> There is a expand/collapse panel and SWFloader sits in it and when I expand i set the SWFloader width to 250 and when I close I set the SWF width to 0. Initially the panel will be in the expanded mode and I can see the SWF loaded and rendered. When I minimize and expand again poof... it disappears and doen't render again? Am I doing some thing wrong or is it a bug in SWF loader? Thanks, Srikanth

