accessing stage item succeeds in simulator, fails on device

Hello!

I am currently prepairing a series of animations which can be replayed after having finished. For the animation series to start again, I have to reset the animated display objects to their initial state. I tried to achieve this using the following code:

 local Container = display.getCurrentStage()
 for i = 1,Container.numChildren do
 Container[i].x = Container[i].x\_Start or Container[i].x
 Container[i].y = Container[i].y\_Start or Container[i].y
 Container[i].alpha = Container[i].alpha\_Start or Container[i].alpha
 Container[i].xScale = Container[i].xScale\_Start or Container[i].xScale
 Container[i].yScale = Container[i].yScale\_Start or Container[i].yScale
 end;

which works fine on the simulator, but fails on the device!

I am now resetting my display objects in a different way (using far more code and less elegantly), but in a bigger project, having to modify the foreseen approach would be quite annoying!

Kind regards,

Andreas Rozek [import]uid: 4331 topic_id: 436 reply_id: 300436[/import]

(Logged as bug #141) [import]uid: 3 topic_id: 436 reply_id: 2047[/import]

This should be fixed in beta 8 [import]uid: 3 topic_id: 436 reply_id: 5065[/import]