# Wanted walkthrough for lightbox in flash buttons

**URL:** <https://forum.kirupa.com/t/wanted-walkthrough-for-lightbox-in-flash-buttons/229403>\
**Category:** flash\
**Created:** [June 16, 2007, 9:13pm UTC](https://forum.kirupa.com/t/wanted-walkthrough-for-lightbox-in-flash-buttons/229403 "2007-06-16T21:13:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vidir](https://avatars.discourse-cdn.com/v4/letter/v/aca169/32.png) [@vidir](https://forum.kirupa.com/u/vidir)\
**Post date:** [June 16, 2007, 9:13pm UTC](https://forum.kirupa.com/t/wanted-walkthrough-for-lightbox-in-flash-buttons/229403/1 "2007-06-16T21:13:17Z")

</div>

Hi all,

Since I seem to be rather dense in this subject I ask all of you for help!

I have a swf file which contains 5 buttons I would like to link these buttons to lightbox js 2. In plain I want to create

a photogallery but can’t quite figure out where to place the code?

Do I place the code as an actionscript onto the button itself?

on(release) {

```
getURL("javascript:flashLightbox('path/to/imagejpg');");

```

}

Since I’m truly lost in oblivion regarding this matter, I put my faith in your wisedom.

Please give me a walkthrough how to this…

Best regards

Vidir
