Mar 192010
butt_shareThis.addEventListener(MouseEvent.CLICK, butt_shareThis_CLICK);
function butt_shareThis_CLICK(e:MouseEvent):void {
// this line sends it to the standard alert box
navigateToURL(new URLRequest("javascript:alert('SHARE THIS Test');"), "_self");
// this line sends it console.log
navigateToURL(new URLRequest("javascript:console.log('SHARE THIS Test to console.log');"), "_self");
}
Sorry, the comment form is closed at this time.