I want to dynamically create a VBox container for messaging from
ActionScript, however it's unclear to me how to check if one already
exists given its ID.

var vBox:VBox = new VBox();

vBox.id = 'theBox";
vBox.styleName = "theBoxStyle";

addChild(vBox); // here is where I want to check for getById('theBox')
in the DOM before adding a new one.





-- 
Anthony Ettinger
408-656-2473
http://anthony.ettinger.name

Reply via email to