Wanted walkthrough for lightbox in flash buttons

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