I know, that adding components can be done in ActionScript. There I can do it conditionally.
But can mx component be added conditionally in mxml code? I do not want to have lot of ActionScript code that creates component and sets its parameters. I would like to have nice xml-like mxml declaration and object is created only if certain logical condition is met.
Is that possible?
PS. I am using Flex 3.5