I think it should be possible to do something like popup.addChild(
composite control )
Cheers
Ralf.



On Wed, Jul 2, 2008 at 11:45 AM, pbrendanc <[EMAIL PROTECTED]> wrote:
> I't trying to create a composite control (in AS) at run time and pass
> this to a popup (as an object) - the popup is responsible for the
> display and the contents vary based on a user input (e.g. 2*2 grid;
> 3*3 grid etc).
>
> My initial thought was to create a composite component and then pass
> this for display via the Popup Manager as part of the popup. However
> I'm not sure this will work as it appears that the composite control
> methods (createChildren etc) apply to the current form and do not
> support the creation of a package that can be rendered in a separate
> form/window.
>
> Maybe I need to have the popup form create the composite control
> directly instead?
>
> Any suggestions/comments?
>
> TIA,
> Patrick
>
> 

Reply via email to