Thanks Pradip but that is not the problem. I have lots of components and I need to add them dynamically to the ViewStack, so I need to create a function that will instanciate this component and then add it to the ViewStack.
I want this to be done dynamically because I have several components and will add new ones according to system growth and to have a clean code =) -- Att Daniel Gerep [email protected] | @danielgerep | -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

