Yep, I still see the white box, and no errors whatsoever.
I assume your config.lua and build.settings are totally “vanilla”? Nothing weird inside them?
Did you try a slightly more simple scenario without the timer and embedded function, like this?
local a = display.newGroup() -- without this line it seems to not crash
local stage = display.getCurrentStage()
local loo = display.newRect(100,100,100,255)
stage:insert(1, loo)
print("The Stage Ref is ", stage)
loo.parent:insert(6, loo)
print("Loo's parent is ", loo.parent)
Finally (and this probably isn’t related, but I’m curious), why are you trying to insert an object at position 6 in the hierarchy, when there’s nothing in indexes 2-5? Personally, I never use the strict “index declaration” on inserting into display groups (although it is valid, according to the documentation). I simply add my my objects in the proper bottom-to-top order among layers, and if I need to ever force something to the front or back, I use object:toFront() or object:toBack(). Again, I don’t think this is the cause of your crash, I’m just asking if you have a reason or if this is merely for testing purposes.
Brent
[import]uid: 9747 topic_id: 33024 reply_id: 131302[/import]