I'm looking for the information when ViewStack generates its content.
In my application there is a viewstack which holds a large number of 
external components each of which is
a VBox with multiple objects like RadioButtons and CheckBoxes.
The Sample code is here:
<?xml version="1.0" encoding="utf-8"?>
 <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"; 
xmlns:local="*"  >
  <mx:Panel id="pan"  width="900"  height="550"  horizontalAlign="center" 
verticalAlign="middle"  >
   <mx:ViewStack id="vs"  widthFlex="0"  borderStyle="none" 
width="{pan.width*0.85}"  height="{pan.height*0.85}"  >
   <local:test00013vb00001 id="vb1" vs="{vs}"/>
   <local:test00013vb00002 id="vb2" vs="{vs}"/>
   <local:test00013vb00049 id="vb49" vs="{vs}"/>
     ..............
   <local:test00013vb00051 id="vb51" vs="{vs}"/>
   <local:test00013vb00053 id="vb53" vs="{vs}"/>
   </mx:ViewStack >
   <mx:Button id="nextButton"  label="Next"  width="300"  click="Next();" 
visible="false"  />
  </mx:Panel >
 </mx:Application >

The nextButton navigates to the next viewstack element. My problem is that 
each component is displayed very slowly.
It takes about 5 sec. to generate about 20 objects in each component.

How can I reduce this time?

krzysiek




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to