Dear bjorn:
Thanks for your response. If I use the code your recommended, the red-cross small icon displays on the Desing Mode view, which makes me very hard to code. In my script, the code likes that:
<viewer:WidgetTemplate id="wTemplate" width="340" height="440"
closed="wTemplate_closeHandler(event)"
open="wTemplate_openHandler(event)">
<mx:VBox verticalScrollPolicy="auto" width="100%" height="100%" backgroundColor="0x0F8F8F">
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
<s:HGroup horizontalAlign="left">
<s:Label text="1) Click the tool icon to open the widget."/>
</s:HGroup>
</mx:VBox>
</viewer:WidgetTemplate>
</viewer:BaseWidget>
Is it possible for you to paste it into yours and see what should be done to fix it? Thanks.