Link to home
Start Free TrialLog in
Avatar of portal123
portal123

asked on

Flash embedded from directory

Hello, I've uploaded a flash swf file to a directory at a different server, so I cannot use a relative path for embedding swf. How can I resolve this problem?? Would you please show me a  sample code?

If it supposed that a.swf file will be located at 'http://www.abc.com/images/a.swf' and my HTML file will be in 'http://www.ppp.com/embed.html'

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,42,0"
  id="movie" width="250" height="80">
  <param name="movie" value="movie.swf">
  <param name="bgcolor" value="#FFFFFF">
  <param name="quality" value="high">
  <param name="allowscriptaccess" value="samedomain">
  <embed type="application/x-shockwave-flash"
   pluginspage="http://www.macromedia.com/go/getflashplayer"
   width="250" height="80"
   name="movie" src="movie.swf"
   bgcolor="#FFFFFF" quality="high"
   swLiveConnect="true" allowScriptAccess="samedomain"
  ></embed>
</object>
ASKER CERTIFIED SOLUTION
Avatar of CyanBlue
CyanBlue
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial