Lightbox with AS3

Been using Lightbox (http://www.huddletogether.com/projects/lightbox/) to enlarge my images, works fine with AS2 but I just can’t get it working with AS3.

Can you see anything wrong with the code:



var openImage:URLRequest = new URLRequest("javascript:flashLightbox('images/jenson.jpg','Jenson in Action');");


test_mc.addEventListener(MouseEvent.CLICK, onButtonClick);

function onButtonClick(event:MouseEvent):void
{
	navigateToURL(openImage);
}

test_mc.buttonMode = true;