Join Login


Site Build It!
 create image gallery tutor problems
 by ApacheOmega - Feb 21, 2012

hello I created an image gallery from the tutorial (Create an Image Gallery with Next and Previous Buttons!) and I'm having problems with my image gallery after I test the movie.
I cant manually advance the image gallery by pressing the button instead it loops automatically over and over again and I cant make it stop.
I followed the AS3 code to the T but the image gallery still advances very rapidly on its own.
What Am I doing wrong.
P.S. I'm using CS5.5

here's my code


import fl.motion.MotionEvent;

stop();


btn1.addEventListener(MouseEvent.CLICK,backward);
btn2.addEventListener(MouseEvent.CLICK,forward);

function forward(event:MouseEvent){
if(this.currentFrame == this.totalFrames){
gotoAndStop(1);

}
else{
nextFrame();
}
}


function backward(event:MouseEvent){
if(this.currentFrame == 1){
gotoAndStop(this.totalFrames);

}
else{
prevFrame();
}
}



ApacheOmega
United States
Posts:2
Joined:Feb 21, 2012
 RE: create image gallery tutor problems
 by Donna111 - Oct 15, 2013

Hi there
Take a look at this site:
http://www.rasteredge.com/how-to/csharp-imaging/create-new-image/
It supports to detailed tutorial for creating image gallery


Donna111
United States
Posts:1
Joined:Oct 15, 2013
  
Home About Contact Forum Youtube Privacy Policy
Copyright © 2009-2011 RiverCityGraphix.All Rights Reserved.