PDA

View Full Version : Flash Image Transition


uneek78
05-07-2011, 06:26 AM
I have been trying in Flash CS5 to make images were the button of each image is at the bottom and as you click on them they appear above the images. Yet when I test it the transition 1st starts on its own and once it finishes scrolling through the 5 images it starts to rapidly speed through all the images over and over. I want it to remain still until clicked on and then to appear. Please help!!!! :confused:

I have followed this tutorial:
http://www.youtube.com/watch?v=5yjvBDgB0NA

and this code:
stop();

button1.addEventListener(MouseEvent.CLICK,showpic1 );
button2.addEventListener(MouseEvent.CLICK,showpic2 );
button3.addEventListener(MouseEvent.CLICK,showpic3 );
button4.addEventListener(MouseEvent.CLICK,showpic4 );
button5.addEventListener(MouseEvent.CLICK,showpic5 );

function showpic1(Event:MouseEvent) ;void{
gotoAndStop("pic1");
}

function showpic2(Event:MouseEvent) ;void{
gotoAndStop("pic2");
}

function showpic3(Event:MouseEvent) ;void{
gotoAndStop("pic3");
}

function showpic4(Event:MouseEvent) ;void{
gotoAndStop("pic4");
}

function showpic5(Event:MouseEvent) ;void{
gotoAndStop("pic5");
}

Ricky55
05-20-2011, 09:25 PM
Need to see your action script.