Gathering all objects on stage

Hi,

How would I go about looping through each object on the stage (that has been added through addChild()) and getting its properties (x, y, scaleX, scaleY) and adding it into an array?

Thanks.