getUrl and variable help

I’m not quite ready to do everything in Flash so have decided for now to use lightbox. I’ve played around with it for a few days but nothing seems to work. Is there a way to modify the onRelease to include a variable? Some way to combine the following? Or a better solution? :ponder:

clip.onRelease = function() {
p = this.pictureValue-1;
nextImage();
};

[COLOR=black]with[/COLOR]
[COLOR=black][/COLOR]
[COLOR=black]getURL(“javascript:MyLightboxFunction();”) [/COLOR]
[COLOR=black][/COLOR]
[COLOR=black]I also found this somewhere on Kirupa regarding flash and lightbox but wasn’t sure how to implement it:[/COLOR]
[COLOR=#000080][/COLOR]
getURL(“javascript:show( ’ " + w + " ’ )”);