Skip to main content
Participant
June 29, 2006
Question

external image loads in html, not in php

  • June 29, 2006
  • 1 reply
  • 188 views
I have a .swf which loads an external jpg. It reads the path from an xml file. The whole thing works fine on my hard drive, and when I publish it as html and upload it to the server, I can still view the jpg. But when I create a PHP page which includes the swf file, I can't see the image. The rest of the swf loads, but doesn't incorporate the external jpg. Any idea why?

Here's the PHP page:
http://www.parrauto.com/home2.php?lot=mazda

Here it is as html:
http://www.parrauto.com/Mazda/mazda.html

This is the code I used to imbed the .swf file in the PHP page:
This topic has been closed for replies.

1 reply

Participating Frequently
June 29, 2006
oops ...its a target path issue..... your php swf reference is in an additional folder
ie: <param name="movie" value="Mazda/middle content2.swf" />
and you html swf reference is
ie: <param name="movie" value="middle content2.swf" />
so your external image can be reached by the html page and the php dont because its inside annother directory and doesent know to go outside the directory .