You can certainly build a view dynamically, because any component can be
instantiated in ActionScript. Depending how you structure things, the code
may become quite a bit more verbose than you are accustomed to.

I believe there are some restrictions on "creation by name" in ActionScript,
but if the types of the components are known at compile time, a simple
switch statement will do the trick.

On Fri, Aug 22, 2008 at 2:32 PM, mknuttall <[EMAIL PROTECTED]> wrote:

>   Has anyone or does anyone know if it is possible to choose what
> component to display dynamically? For instance if one is displaying a
> questionnaire, questions are Text, Yes No, List and Date and are not
> know what they are or what the order is till runtime.
>
>  
>

Reply via email to