Hello everyone, Kevin here from San Francisco building an application
that is populated at runtime (i.e., no MXML) and whose Classes are not
known at authoring time. Here is what I am trying to do:

var VM:ViewManager=new ViewManager();
VM.addDisplayObject(
   "myCanv",
   new Canvas(),
   {x:70,
    y:70,
    width:200,
    height:50})
VM.addDisplayObject(
   "myLabel",
   new Label(),
   {x:70,
    y:70,
    width:200,
    height:50})

In my ViewManager, which I am extending from Sprite, but could be as
primitive as an EventDispatcher for my uses with it, I'm trying to
abstract whatever Components may be rendered at runtime.

Thanks for any pointers,

Oiled up in San Francisco


Reply via email to