1 Reply Latest reply on Sep 16, 2008 5:14 AM by robdillon

    TextArea link inside a move clip

    Colbra
      The actionscript calls textArea to have a rollover action and then link to another site when released. However when placed inside a movie clip the rollOver works but not the link. I need someone to tell me what syntax I'm missing. It's gotta be possible.

      Please help.

      Here's the Code:

      var feature_styles:TextField.StyleSheet = new TextField.StyleSheet();
      feature_styles.setStyle("backgroundColor", 0x000000);
      feature_styles.setStyle("mainbody", {color: "#333333", fontFamily: "FFF Hero", fontSize: "8", display: "inline"});
      feature_styles.setStyle("a:link", {color: "#333333", fontFamily: "FFF Hero", fontSize: "8", display: "inline"});
      feature_styles.setStyle("a:hover", {color: "#FF0000"});


      background1_mc.textbox_1.links_1.label.condenseWhite=true;
      background1_mc.textbox_1.links_1.styleSheet = feature_styles;
      background1_mc.textbox_1.links_1.wordWrap = true;
      background1_mc.textbox_1.links_1.html = true;
      background1_mc.textbox_1.links_1.label.selectable=false;
      background1_mc.textbox_1.links_1.editable=false;
      background1_mc.textbox_1.links_1.vScrollPolicy = "off";
      background1_mc.textbox_1.links_1.hScrollPolicy = "off";
      background1_mc.textbox_1.links_1.embedFonts = true;


      background1_mc.textbox_1.links_1.text += "<a href=\"Fall08images/downloads/FALLOUT_1600x1200.jpg\" target=\"_blank\">1600 x 1200</a><br>";


      _global.styles.TextArea.setStyle("backgroundColor" , "none");
      _global.styles.TextArea.setStyle("borderStyle", "none");
      _global.styles.TextArea.setStyle("borderColor", "none");


      stop();