Jump to content


Photo

Site Graphics And Multimedia Design


  • Please log in to reply
No replies to this topic

#1 sasikashiroshi

sasikashiroshi

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 22 June 2009 - 09:49 AM

I've added a flash ad to my website, in .swf format. I don't know much about flash (as I will probably prove in a sec!) and the advert wasn't created by me. This is the code I'm using:

<object width="160" height="600">
<param name="movie" value="images/advert.swf">
<embed src="images/advert.swf" width="160" height="600"></embed></object>


This code seems to work fine. However, previously I was using absolute urls in the code, eg: , and when I did that the file was not clickable on any page of my site that did not have the 'www'. So, if you went to example.com and tried to click the flash ad, it didn't work; if you went to www.example.com and clicked the flash ad it worked fine.

Does anyone know why this would be? Is it a setting in the formatting of the flash ad? I just feel like I would like to know for any future flash ads I set up. Thanks for any help.