As I create display objects, the stages ‘numChildren’ count increases as expected but I seem to be unable to access the children:
print( display.getCurrentStage().numChildren ) -- outputs '0'
display.newRect(...)
print( display.getCurrentStage().numChildren ) -- outputs '1'
print( display.getCurrentStage()[1] ) -- outputs 'nil' ???
I know the stage group is a special type of group object, so is the above expected behavior or is there a bug somewhere?
Thanks [import]uid: 1581 topic_id: 310 reply_id: 300310[/import]