You are adding every item with the same depth!

Change this line

PHP Code:
var addItem1 _root.backpack.attachMovie(item1item11); 
to

PHP Code:
var addItem1 _root.backpack.attachMovie(item1item1currentslotnum);