I am now going through learning about all the api’s you all have. Starting with display.
My question concerns http://docs.coronalabs.com/api/library/display/currentStage.html
Look at the example:
local count = display.currentStage.numChildren
print( "Number of objects on the screen = " … count )
I THINK you call “numChildren” a property. I will use that term “property” to explain my question.
No where on that document does it talk about what properties display.currentStage has. Are there any other properties? How can we know? Do other display “things” have properties? Example display.capture? etc. You really should list all methods for all api’s.
Because I think numChildren can be very useful. So, just wandering how many other useful properties there might be.
At the last moment, I decided to look at the return value - it says DisplayObject. So, I went there and I saw a bunch of methods and properties but none of them mentioned numChildren. So, where did this property numChildren come from? Is it unique to currentStage? If so, are there others?
Thanks!