I have used the getBounds method for getting the bounds of
items as you have suggested. This method is returning different
coordinates for the same child. I have put the trace statement for
returning the bounds of first element in the VBox. This returns the
same coordinates from after second iteration.
Can you please look into the code and let me know, if I am
doing any thing wrong?
private function testAddfunction() : void
var newSongBit:Button = new Button();
var boundRect:Rectangle =