Hi,
I have a series of images (01.jpg, 02.jpg, 03.jpg, .....)
and i want t load the pic. with next and prev. buttons, next to load the next picture and prev. to load the prev. one, but it's too much pictures so i want it to be dynamic and at the end of the pictures to disable the next button and at the first picture to disable the prev. button. something like picture gallery
Hi,
I hope the below code gives the answer for your requirement.
Given below are the guidelines for the script to work.
1. Place the code on the first frame of the main time frame.
2. name the images as "01.jpg","02.jpg" etc and keep them in the same folder where the swf resides...
3. Name the movie clip instances as below
Image Holder - imgHolder
Back Button - prevButton
Next Button - nextButton
4. Change the value totalNoofImages based on the Number of Images you are using.
This can be defined as a component also. just try that and let me know how it works.