Pagination

Anyone mind helping me with this issue before I go crazy.
I’m trying to paginate entries loaded from an xml file into attachmovie clips, code really isn’t my strong suit and I know i’m messing something up here.

Everything is working minus the removal of the attached clips in the function (only removes the first) and it also needs to reset after the clips are removed so new page entries show at the top instead of how they attach at the last y position of the previous clip. Any help is greatly appreciated.

Attached source shows the issue :krazy: