var tmp:MovieClip = _root.createEmptyMovieClip("Test", _root.getNextHighestDepth()); function createFDBItems(info) { for(i=0;i= this.image_mc.getBytesTotal()) { trace("Image loadedd"); // WORKS!! var FDB = new flash.display.BitmapData(this._width, this._height, true, 0xFFFFCC00); FDB.draw(this); trace(this); // _level0.iN where N == id of item. tmp.attachBitmap(FDB); tmp._y = 300; tmp._x = 300*this.id; trace(tmp); // _level0.TestN where N == id of test bitMaps.push(FDB); imagesLoaded[this.id] = true; delete this.onEnterFrame; } } } }