Hi there
I know that this is very basic Actionscript but I am having some serious issues. If anyone can help out, I would really appreciate it!
It’s just a simple navigation thing, with a strip of thumbnails that gets moved left and right with arrows that load a larger picture when each thumbnail is clicked.
Basically I would like to move the strip of thumbnails across when you click the arrows, and then when you click a thumbnail it loads the full size image above the strip.
This is my thought process for each thing that needs to be scripted.
For the arrow function:
- the arrow buttons need to tell the movieclip to move to the relevant frame WITHIN the movieclip where I have included the tween to the next set of thumbnails. I tried scripting this on the button itself as well as on the first frame of the actions layer and I couldn’t get either to work.
- I initially had the buttons within the movieclip because then I could control when there is a left and right button, or just a right button or just a left button (ie still more pics to view, you can go back to the previous set of pics or onto the next set of pics, or you’ve reached the end of the row of thumbnails) but I couldn’t get my button to do anything when it was inside the same movieclip as the thumbnail rows. I would prefer to have the buttons work inside the movieclip for the reason described, but I am open to suggestions!
For the thumbnail function:
- The problem here, I think, is that I have buttons within a movieclip that I am trying to get to load something to the stage. Here, I tried to add the script to the button within the movieclip as well as the first frame of the sctions layer but again that didn’t work either.
- Another important function is going to be removing whatever is on the stage when you click another thumbnail. I guess each image could just keep loading on top of the previous image but won’t that cause a problem with the depth of your layers?
I have left little bits of code for you to have a look at so you can see what I tried.
Thanks in advance for any help!
Bernadene