# Using bitmap data smooth in my gallery

**URL:** <https://forum.kirupa.com/t/using-bitmap-data-smooth-in-my-gallery/243673>\
**Category:** Uncategorized\
**Created:** [November 9, 2007, 2:52pm UTC](https://forum.kirupa.com/t/using-bitmap-data-smooth-in-my-gallery/243673 "2007-11-09T14:52:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abramelin](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/abramelin/32/3256_2.png) [@abramelin](https://forum.kirupa.com/u/abramelin)\
**Post date:** [November 9, 2007, 2:52pm UTC](https://forum.kirupa.com/t/using-bitmap-data-smooth-in-my-gallery/243673/1 "2007-11-09T14:52:27Z")

</div>

hi i want to use bitmap data smooth when loading my images  
here is the function that loads the images , how can i implement bitmap data smooth to this?

```auto

function handleThumbRelease():Void {
    var which:String = this._parent._name;
    var num:Number = Number(which.substr(6));
    thumbSelected = num;
    
    if (!mainTL.large_mc) {
        mainTL.attachMovie("large.box", "bgroundBox_mc", mainTL.getNextHighestDepth(), {_alpha:0, _x:Stage.width/2, _y:Stage.height/2, _width:Stage.width, _height:Stage.height});
        mainTL.attachMovie("mc.large_image", "large_mc", mainTL.getNextHighestDepth(), {_visible:false, _x:Stage.width/2, _y:Stage.height/2});
        
        mainTL.bgroundBox_mc.colorTo(0x000000, 0);
        mainTL.bgroundBox_mc.alphaTo(80, 1, 'easeInOutSine');
        
        mcl2.loadClip(dirPath + gallery_obj.imagePath + "/" + library_obj.image[num].path, mainTL.large_mc.holder);
        
        enableThumbs(false);
        enableButtons(false);
        enableMainNav(false);
        
        // mark as viewed
        this.viewed = true;
        this.alphaTo(35, 1, 'easeInOutSine');
        this._parent.highlight.alphaTo(0, 1, 'easeOutExpo');
    }
};

```

thanks
