If you have a scene for which the display of one item (e.g. box) is dependant on state (e.g. open/closed), then this implies you’d need do the object setup in enterScene no? i.e. not createScene which is recommended for object setup.
The issue seems to be you can’t re-assign an image to a display object directly - you seem to have to really go to another display object…
BTW - There do seem to be some work-arounds re having two display-objects. Not sure whether one would be better off to:
(a) stick to only one display object at a time - but then having to do image display object creation in the “enterScene”
or
(b) have multiple display objects set up in “createScene” and then change their visibilities as requried in “enterScene”
Any comments?
http://developer.anscamobile.com/forum/2011/12/05/best-way-change-images-touch#comment-106339 [import]uid: 140210 topic_id: 26236 reply_id: 326236[/import]