0 Replies Latest reply on Oct 17, 2008 2:20 PM by kpsony

    Passing variable from HTML to AS

      Im using an affiliate program that automatically generates the following html for my swf banners:

      <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="120" height="240">
      <param name="movie" target="_blank" value=" http://affiliate.masterbeat.com/banners/120x240_panel3_gay.swf?actionURL=http://affiliate. masterbeat.com/idevaffiliate.php?id=100_0_1_47">
      <param name=quality value=high>
      <embed src=" http://affiliate.masterbeat.com/banners/120x240_panel3_gay.swf?actionURL=http://affiliate. masterbeat.com/idevaffiliate.php?id=100_0_1_47" quality=high pluginspage=" http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="120" height="240">

      The as they gave me to use is as follows:

      on (press) {
      activeLink = actionURL;
      getURL(activeLink, "_blank");

      (I know that's not as3, but feel free to convert it to as3)
      but when I click on the banner I get an undefined error. The problem is I can change the html, so I need to find AS that will work with the html above.

      I really appreciate your help!