1 Reply Latest reply on Jun 6, 2006 11:31 AM by Newsgroup_User

    php and flash variables

    Level 7
      Hi.
      don't know if is the best place to put this post, but I have a question
      about dreamweaver. I downloaded the new dreamweaver update, created a php
      file and put a swf file. Everything works fine with that, but I haven't been
      able to pass a php variable to the swf file... here's the code:

      <script type="text/javascript">
      AC_FL_RunContent(
      'codebase',' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','wid th','800','height','470','title','meditec','src','menu','quality','high','pluginspage','ht tp://www.macromedia.com/go/getflashplayer','lang','<?
      echo $langNext; ?>','movie','menu' ); //end AC code
      </script><noscript><object
      classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000"
      codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
      width="800" height="470" title="meditec">
      <param name="movie" value="menu.swf?lang=<? echo $langNext; ?>" />
      <param name="quality" value="high" />
      <param name="lang" value="<? echo $langNext; ?>" />
      <embed src="menu.swf?lang=<? echo $langNext; ?>" width="800"
      height="470" lang="<? echo $langNext; ?>" quality="high"
      pluginspage=" http://www.macromedia.com/go/getflashplayer"
      type="application/x-shockwave-flash"></embed>
      </object>
      </noscript>

      Thanks for the help
      German Hernandez