Solved

Flash embedded from directory

Posted on 2007-11-22
1
150 Views
Last Modified: 2010-04-03
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>
0
Comment
Question by:portal123
1 Comment
 
LVL 37

Accepted Solution

by:
CyanBlue earned 500 total points
ID: 20339603
I am not sure if I understand you correctly, but can't you just specify the domain name like this???

<param name="movie" value="http://www.otherdomain.com/movie.swf">

src="http://www.otherdomain.com/movie.swf"

CyanBlue
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Pushing Adobe Flash Player Fails with Error %%2 1 489
anti-download video publishing site? 6 616
Action Script commands 4 317
Missing Plugin for Firefox - Can't View Content 7 177
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question