Create your components and show/hide them using states or the visible property.
I dnt have knowledge of states. Is this the only way?? cant we do like pages?? after clicking control should move to next page or any kind stuff??
If you mean something like JSP Pages, Flex does not have the concept of different pages. There is only one application and everything is contained in it.
Do go through this for more info on states.