0 Replies Latest reply on Oct 29, 2007 9:00 PM by jeeepU

    Loading swf into flash

    jeeepU
      I have a flash chart that needs to be embedded into my main flash movie. The chart however relies very heavily on php script and I was wondering if there was a way where I could load this into my main flash movie:

      [code]
      <script type="text/javascript" src="js/swfobject.js"></script><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="500" height="250" id="ie_chart" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="/open-flash-chart.swf?width=500&height=250&data=http%3A%2F%2Furl.com%2Ffolder%2Fch art-data.php" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><embed src="/open-flash-chart.swf?data=http%3A%2F%2Furl.com%2Ffolder%2Fchart-data.php" quality="high" bgcolor="#FFFFFF" width="500" height="250" name="open-flash-chart" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage=" http://www.macromedia.com/go/getflashplayer" id="chart"/></object>
      [/code]

      or perhaps I could load this php page that load the flash chart:
      [code]
      <?php
      $test = include_once 'ofc-library/open_flash_chart_object.php';
      open_flash_chart_object( 500, 250, ' http://'. $_SERVER['SERVER_NAME'].'/folder'.'/chart-data.php', false );


      ?>
      [/code]