Lapisfyre
12 Dec 2007, 03:10 PM
Hello,
Does anyone have a slide show tutorial or example you would recommend?
I have tried unsuccessfully to complete a tutorial from the Layers Magazine at
http://www.layersmagazine.com/flash-slideshow-image-gallery.html
This is a fairly simple slideshow that is supposed to click forward or back and also link to enlarge or go to a website. However, the swap bitmap feature and the next and back buttons do not change slides. Here is the ActionScript 2.0 that is used:
stop();
//next button
next_btn.onPress=function(){
if(mc_content._currentframe==mc_content._totalframes){
mc_content.gotoAndStop(1)
}else{
mc_content.nextFrame()
}
}
//last button
last_btn.onPress=function(){
if(mc_content._currentframe==1){
mc_content.gotoAndStop(mc_content._totalframes)
}else{
mc_content.prevFrame()
}
}
Thank you for your consideration.
Does anyone have a slide show tutorial or example you would recommend?
I have tried unsuccessfully to complete a tutorial from the Layers Magazine at
http://www.layersmagazine.com/flash-slideshow-image-gallery.html
This is a fairly simple slideshow that is supposed to click forward or back and also link to enlarge or go to a website. However, the swap bitmap feature and the next and back buttons do not change slides. Here is the ActionScript 2.0 that is used:
stop();
//next button
next_btn.onPress=function(){
if(mc_content._currentframe==mc_content._totalframes){
mc_content.gotoAndStop(1)
}else{
mc_content.nextFrame()
}
}
//last button
last_btn.onPress=function(){
if(mc_content._currentframe==1){
mc_content.gotoAndStop(mc_content._totalframes)
}else{
mc_content.prevFrame()
}
}
Thank you for your consideration.