I have done some digging and it appears it is that my dataprovider of
all the canvas's (Canvas1, Canvas2, etc...), which is the same for all
four canvas's isn't  being created before my viewstack is created.  Is
there a way to tell the Viewstack to wait to be created last and then
tell Canvas1 inside the Viewstack to be created 2nd?

I put another canvas in front of Canvas1 and so Canvas0 and now
Canvas1 correctly populates with the data.  

J  

--- In flexcoders@yahoogroups.com, "jnewport" <[EMAIL PROTECTED]> wrote:
>
> Hello all.
> 
> I was wondering if I can get some help on a viewstack issue? 
> 
> In my main app file I have an applicationcontrolbar, which contains a
> combobox.  The combobox is being used to navigate my viewstack.  In my
> viewstack I have four custom canvas components. So something like the
> following (short hand).
> 
> <VS>
>  <Canvas1>
>    <LineChartA/>
>  </Canvas1>
>  <Canvas2>
>    <LineChartB/>
>  </Canvas1>
>  <Canvas3>
>    <LineChartC/>
>  </Canvas1>
>  <Canvas4>
>    <LineChartD/>
>  </Canvas1>
> <VS/>
> 
> The viewstacks initial selectedIndex is set to "0" which is "Canvas1".
> The Canvas1 shows my LineChart without the linedata, so no actual
> graph. If you use the comboBox navigation to go to any of the other 3
> canvas's the graphs show. The LineChart is getting its data via binding.
> 
> I am assuming it has to do with the creation policy, but I have tried
> using creationPolicy="all" and creationIndex, but no luck. I have
> tried swaping canvas1 and canvas2 in the view stack (so canvas2 is the
> initial view), but then canvas2's graph is blank and canvas1 is
> showing corretcly.
> 
> Any ideas? 
> 
> 
> Thanks, in advance.
> 
> J
>





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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