whew

found a way
in your model package, create a new model to hold the states of your viewstack component ...i created one like this...
package com.perfect.model
{
public class ProgrammingTabWorkflow
{
public static const PROGRAMMING_DEFAULT_VIEW:Number = 0;
public static const PROGRAMMING_MANAGE:Number = 1;
[Bindable]
public var programmingWorkflowState:Number = PROGRAMMING_DEFAULT_VIEW;
}
}
then in my panel...created a view stack and set a binding to the selectedChild. like this
selectedChild="{getSelectedChild(workflow.programmingWorkflowState)}"
getSelectedChild is a function that returns a container. the viewstack state is changed based on what is returned from the function
