DigitalScience
Multimedia Design | www.digitalscience.za.org | digisci@gmail.com

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

Fonts used:
---------------------------------------------------------------------------------------------------------------------------
Arial

Versions:
---------------------------------------------------------------------------------------------------------------------------
Flash MX 2004 & Higher

How to use this file:
---------------------------------------------------------------------------------------------------------------------------

  1. Simply drop the movieclip named "gallery_mc" on to your stage , all code is self-contained in this movieclip.

  2. On frame 1 of the movieclip "gallery_mc" is where the XML Data is being loaded. On frame 2 you will find the main movie clips and the script engine, see comments in the code.

  3. If you resize the thumbnails make sure you set the variable "menuHeight" to the height of your large image or the height you want your menu to be. Also make sure to resize the height of "mask_mc" to show the active area of your scrolling menu. Adjust "menuSpacing" to the amount of spacing you want between thumbnails.

  4. Use notepad to edit the XML file to customize your gallery. You can change the filename of the main jpeg, the hover caption text,full copy text, URL link and the thumbnail filename. Below is an example of one image entry, use this code below and duplicate for as many new images you need.

    <gallery>
    <thumb>thumb1.jpg</thumb>
    <image>image1.jpg</image>
    <caption>Trees by the lake</caption>
    <txt>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.</txt>
    <url>http://www.google.com</url>
    </gallery>

  5. See comments in code for further help.

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\