Thanks a bunch Brendan,
Will try this out
- superabe
On 1/12/06, Brendan Meutzner <[EMAIL PROTECTED]> wrote:
Superabe,
Here's an example of what I was referring to. It looks like it
works... Is this what you intended to accomplish? The more images you
add within each container, the more apparent the load/wait to load
becomes.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application width="100%" height="100%"
xmlns:mx="http://www.macromedia.com/2003/mxml" vScrollPolicy="off"
initialize="initPage();">
<mx:TabNavigator id="myNavigator" hScrollPolicy="off"
vScrollPolicy="off" height="100%" width="100%" creationPolicy="none"
marginTop="0" >
<mx:VBox label="View 1">
<mx:Image source=" http://www.visualconcepts.ca/mc_pics/DSCF0018.JPG" />
</mx:VBox>
<mx:VBox label="View 2">
<mx:Image source="http://www.visualconcepts.ca/mc_pics/DSCF0022.JPG" />
</mx:VBox>
<mx:VBox label="View 3">
<mx:Image source="http://www.visualconcepts.ca/mc_pics/DSCF0027.JPG " />
</mx:VBox>
</mx:TabNavigator>
<mx:Script>
<![CDATA[
private function initPage():Void
{
myNavigator.createComponent(0, true);
myNavigator.createComponent(1, false);
myNavigator.createComponent (2, true);
}
]]>
</mx:Script>
</mx:Application>
The description for this is found here:
http://livedocs.macromedia.com/flex/15/flex_docs_en/00001145.htm
Hope this helps.
Brendan
--- In [email protected], superabe superabe < [EMAIL PROTECTED]>
wrote:
>
> Hi Bendan,
>
> Thanks for the tip,
>
> Can you elaborate some more on what you mean by "manually
instantiate the
> children using createComponent with recursion set to true."
>
> Where is the createComponent method defined ?
>
> - superabe
>
>
>
> On 1/11/06, Brendan Meutzner <[EMAIL PROTECTED]> wrote:
> >
> > Superabe,
> >
> > Try setting creationPolicy="none" and manually instantiate the
> > children using createComponent with recursion set to true.
> >
> > Haven't tried this, so let me know if this helps.
> >
> > Brendan
> >
> >
> >
> > --- In [email protected], superabe superabe <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > Hi list,
> > >
> > > Is there any way to combine the effects of creationPolicy="auto" and
> > > creationPolicy="queued" within the same ViewStack.
> > > So for e.g.
> > > <ViewStack>
> > > <Child1/>
> > > <Child2/>
> > > <Child3/>
> > > </ViewStack>
> > >
> > > When the app loads I would like Child1 to be created completely
> > first, Child
> > > 3 to be created completely second and would like Child 2 to be
> > created only
> > > when the user navigates to that.
> > > Is that at all possible ?
> > >
> > > TIA
> > > - superabe
> > >
> >
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
> >
>
--
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/
<*> 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/
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

