I have a dynamically created popup where I am trying to use
ClassFactory to populate a visible item. It does get populated, but it
doesn't show up on the stage.

If I use

  var newformcreator:ClassFactory = new ClassFactory(ConvertibleFieldForm);
        newformcreator.properties = { swappableform:confbox };
                
var cform:ConvertibleFieldForm = newformcreator.newInstance();


     addChildAt(cform,getChildIndex(layoutbox));

The cform shows up (or the confbox I put it in using addChildAt) but
the visible item inside cform (the confbox) is not visible. Debugging
verifies that it is indeed there, it's just not visible (visible=true
doesn't make it visible ...).

Is there a way to do what I want, or do I always need to use addChild?

Thanks in advance!

Paul

Reply via email to