Lightbox2 is a great way to show enlarged image without leaving
current browser window. This tutorial will guide you how to
execute Lightbox2 in Flash. To execute Lightbox2 in Flash,
basically, there are three things to do:
Prepare Lightbox2
Add Lightbox2 references and Javascript helper function
to your HTML code
To display all the images in same group, the value of rel
need to be same.
Please also make sure to upload the image files to your web
server, the folder specified in the above HTML code.
Add
Javascript link to Flash
If you are using Aleo 3D Flash Slideshow Creator, please
click "Image Options" tab on the right bottom of
the main window, select an image, then check the option "Web
Link", and enter the "URL Address" as following
for each image:
javascript:LightboxGroupLink('slide1')
javascript:LightboxGroupLink('slide2')
javascript:LightboxGroupLink('slide3')
javascript:LightboxGroupLink('slide4')
The value of the parameter in the function need equal to
the id value in the image links codes.