# \[Actionscript 2.0, Flash 8\] Button Help Needed

**URL:** <https://forum.kirupa.com/t/actionscript-2-0-flash-8-button-help-needed/215945>\
**Category:** Uncategorized\
**Created:** [February 12, 2007, 1:16pm UTC](https://forum.kirupa.com/t/actionscript-2-0-flash-8-button-help-needed/215945 "2007-02-12T13:16:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bosco99](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@Bosco99](https://forum.kirupa.com/u/Bosco99)\
**Post date:** [February 12, 2007, 1:16pm UTC](https://forum.kirupa.com/t/actionscript-2-0-flash-8-button-help-needed/215945/1 "2007-02-12T13:16:42Z")

</div>

Hello,  
I set up a photo gallery that uses transition effects. The JPEG will load with the transition effect but when I try to use the thumbnails nothing happens. I think there is something wrong with the thumbnail code. Here is the code

import mx.transitions.\*;  
import mx.transitions.easing;

this.createEmptyMovieClip(“image\_mc”, this.getNextHighestDepth());  
var mclListener: Object = new Object();  
mclListener.onLoadStart = function(target\_mc:MovieClip) {

};  
mclListener.onLoadComplete = function(target\_mc:MovieClip) {

};  
mclListener.onLoadInit = function(target\_mc:MovieClip) {  
TransitionManager.start(target\_mc,  
{type:Blinds, direction:Transition.IN,  
duration:2, easing:None.easeNone,  
numStrips:10, dimension:0});  
};  
var image\_mcl:MovieClipLoader = new MovieClipLoader();  
image\_mcl.addListener(mclListener);  
image\_mcl.loadClip(“image1.jpg”, image\_mc);  
//the code works up to this point loading the jpeg with the effect  
button1\_mc.onRelease = function(){  
image\_mcl.loadClip(“image1.jpg”, image\_mc);

}

Someone please tell me what I’m doing wrong.  
Thanks, Bosco99
