troubleshooting Question

hide unhide a view in a viewstack

Avatar of royjayd
royjayd asked on
Apache Flex
5 Comments1 Solution578 ViewsLast Modified:
hi guys

I have a viewstack like this

<mx:ViewStack id="workflowViewStack" width="100%" borderColor="#000000" cornerRadius="4" selectedIndex="{modelviewdata.workflowviewstate}">              
<projectNavigation:ProjectProfileView label="Project Profile view" />            
<workflowNavigation:WorkflowView label="modelviewdata.id}" height="3000" width="3000" />
</mx:ViewStack>      


I want to hide and unhide this <workflowNavigation:WorkflowView> view. any idea how i can do it?

Something like

<mx:ViewStack id="workflowViewStack" width="100%" borderColor="#000000" cornerRadius="4" selectedIndex="{modelviewdata.workflowviewstate}">              
<projectNavigation:ProjectProfileView label="Project Profile" />      

if modelviewdata.showworkflowNavigation == "true" show it , else hide it            
<workflowNavigation:WorkflowView label="modelviewdata.selectedWorkflowid}" height="3000" width="3000" />      
</mx:ViewStack>      

thanks
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros