Posted By

kayue on 12/31/10


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

olemedia


clickTAG with ActionScript 3


 / Published in: ActionScript
 

  1. // http://forums.adobe.com/message/3041278
  2.  
  3. function click_hover(e:MouseEvent):void
  4. {
  5. var clickTAG:String = this.loaderInfo.parameters.clickTAG;
  6.  
  7. // check if the variable has value
  8. if (clickTAG) {
  9. var request:URLRequest = new URLRequest(clickTAG);
  10. navigateToURL(request, "_blank");
  11. }
  12. }
  13.  

Report this snippet  

You need to login to post a comment.