I am trying to re-purpose the CC btn in a Captivate 5 skin:
SO I have updated the btn image and added the btn code
Actionscript Code:
pbcCC_mc.addEventListener(MouseEvent.CLICK, callLink);
function callLink(event:MouseEvent):void {
var url:String = "http://www.google.com";
var request:URLRequest = new URLRequest(url);
try {
navigateToURL(request, '_blank');
} catch (e:Error) {
trace("Error occurred!");
}
}
when I export the skin from flash it works and launches the link, but when I save the swf to the cap folder and publish the captivate movie the btn does not work?!?!?!?
ANybody tried this?
Red