I’d like to replace my current functionality of just launching a new url in a new window to loading a .swf in lightwindow. I’ve seen a previous post on this but I was having trouble following it.
My current function looks like this:
protected function clickHandler(me:MouseEvent):void {
trace("PortfolioItem::click ");
var request:URLRequest = new URLRequest(“http://” + _url);
try {
navigateToURL(request, ‘_blank’);// second argument is target
} catch (e:Error) {
trace(“Error occurred!”);
}
}
I think I am supposed to add the ExternalInterface class to help adapt the lightwindow javascript to work within flash.
Going crazy trying to figure this out…