|
Like Jimmy said, sounds like a job for
ViewStack. Tracy From: Hi Thanks for the reply , but the question
was if there is a better way to do this than separated apps, i have to
use a tree cause its a design requirement. i though that maybe there is a way to
replace the content of the right frame with different panel each time. is it possible to do it dynamically
? , for example the right is defined like this, and upon a click in
the tree the right panel should be replaced. <mx:VBox id="mainPanel">
<pv:someModuleView> <mx:Vbox> function switchView(view:String){
mainPanel.control??? = new someOtherModule(); } } From: Hi
Shlomi, Yes,
for each app you want to load using the Loader control, it must be in effect a
standalone Flex app to begin with, so its root tag must be the Application tag. I don't
know how big all these sub applications are, but perhaps you can use a
ViewStack instead and that should server your purpose. If all you want to do is
display one sub-app at a time. Hope
that helps! Dimitrios
"Jimmy" Gianninas RIA Developer Optimal
Payments Inc. From: Shlomi Cohen
[mailto:[EMAIL PROTECTED] Hi I have windows explorer like
application , the left panel contain a tree with a list of sub
applications (modules) and the right panel is the main view
.(which suppose to be used by each sub application) i want to be able to load the right panel
with the selected sub application . I know that Flex Explorer sample
implemented something similar with the mx:Loader tag. where every
application is loaded by the URL sent to the loader object. the only design fault i can see here is
that every module have to be in its own mx:Application tag otherwise the loader
can't load it. is there a better way ? what is the best
practice here ? thanks Shlomi
Yahoo! Groups Links
|
Title: Mercury Email Signature
- Re: [flexcoders] what is the best practice for dynamic cont... Manish Jethani
- RE: [flexcoders] what is the best practice for dynamic... Tracy Spratt

