0 Replies Latest reply on Feb 14, 2007 5:00 AM by bharatd76

    Load flash movie by executing javascript

      Hi all,

      I am having one html file that is showing flash movie on brawser.
      I want to load that flash movie into my flash application movie clip. How can I do that. Please guide me...

      here is html code... put it in ad.html file and open it.

      <script language='JavaScript' type='text/javascript' src='file:///D:/SportingBet-Widget/ExtraStuff/Documents/adx.js'></script>
      <script language='JavaScript' type='text/javascript'>
      // http://ads.sportdog.gr/ads/adx.js
      if (!document.phpAds_used) document.phpAds_used = ',';
      phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);

      document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
      document.write (" http://ads.sportdog.gr/ads/adjs.php?n=" + phpAds_random);

      document.write ("&amp;what=zone:218");
      document.write ("&amp;exclude=" + document.phpAds_used);
      if (document.referrer)
      document.write ("&amp;referer=" + escape(document.referrer));
      document.write ("'><" + "/script>");

      </script><noscript><a href=' http://ads.sportdog.gr/ads/adclick.php?n=a1ffd680' target='_blank'><img src=' http://ads.sportdog.gr/ads/adview.php?what=zone:218&amp;n=a1ffd680' border='0' alt=''></a></noscript>