# getUrl and variable help

**URL:** https://forum.kirupa.com/t/geturl-and-variable-help/233675
**Category:** flash
**Created:** [July 25, 2007, 9:49pm UTC](https://forum.kirupa.com/t/geturl-and-variable-help/233675 "2007-07-25T21:49:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bluecarnumber9](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@bluecarnumber9](https://forum.kirupa.com/u/bluecarnumber9)
#### Post date: [July 25, 2007, 9:49pm UTC](https://forum.kirupa.com/t/geturl-and-variable-help/233675/1 "2007-07-25T21:49:00Z")

</div>

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 + " ’ )”);
