Posted By

RodolfoMiranda on 01/24/15


Tagged

as3 clickTag


Versions (?)

AS3 clickTag


 / Published in: ActionScript 3
 

The normal clickTag

  1. // ----------------- Event listeners:
  2. private function addListeners() : void {
  3. addEventListener(MouseEvent.CLICK, onClick);
  4. }
  5.  
  6. // ----------------- clickTag:
  7. private function onClick(event : MouseEvent) : void {
  8. navigateToURL(new URLRequest(LoaderInfo(root.loaderInfo).parameters.clickTAG), "_blank");
  9. }

Report this snippet  

You need to login to post a comment.