I followed the photo gallery tut on kirupa and everything works fine but i also have an image scrollbar. In the scrollbar, the images are buttons and on click, it loads an image (hence the photo gallery tut). For some reason, the button AS isn’t working, this is what i have/tried…
instance name = scrollbar (scroller), easing (images) bt#(images)
on (release) {
scrollbar.easing.bt1.changePhoto(2);
}
&
on (release) {
scrollbar.easing.changePhoto(2);
}
i know that it has to do with the path but im confused as hell b/c this is the only path it has. i’ve tried changing the _root to this and then to nothing as above and the buttons still wont work. I tried just putting a button on the main timeline to see if it was the gallery but everything works just fine except when i script the scrollbar.
anyone have any ideas where im going wrong? i tried researching posts and most of them talk about the _root & this. but still doesnt work
hi scotty, yes i did try that and nothing happens. it is not on my main timeline. My site is set up by following the Tut “transition for esternal swf’s”
BUT i had tried using a button on the “gallery” page, rendered it and veiwed it going through the main page, using the script as you had above and it works fine. The buttons on the scrollbar ( it is an MC on the timeline) does not work when viewed from the main swf or by itself. im completely lost on why its not working from the scrollbar…