views:

65

answers:

0

Hello, I have a problem with switching views in an app. I have the following set-up

Stage->MasterViewSprite->SubviewSprite->GallerySprite

Images are added via addchild to the GallerySprite. When the users clicks an image, the MasterViewSprite removes the SubviewSprite and adds a different SubviewSprite.

I find that the more image I have in the gallery sprite the longer it takes to make the switch.

Why?