Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Odd Behavior - Flash Loading in Advertisment

Flash file put in an iframe is loading in ad advertisement window



1:53 pm on May 5, 2009 (gmt 0)

10+ Year Member


I hope someone can help me.

I have a very odd problem with Flash. I want to host the Flash Files on my Content Delivery Network (CDN) rather than my webserver. In order to get the Flash file to load, I put an iframe on my page that points to the flash file on the CDN.

It looks like this

<iframe src="http://mydomain.CDN.net/flash/banner.swf" name="featured" width="600" height="360" frameborder="0" scrolling="no" allowautotransparency=true></iframe>

This seems to work fine some of the time, but other times the Flash Window actually ends up loading in one of the advertisements on the page! The space where the flash window is supposed to be is blank. This is extremely odd and I am hoping that someone can help.


4:41 pm on May 5, 2009 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member


Any other page elements with this name? Can you change it to a unique id and reference it that way instead?

name="my-featured" id="my-featured"


5:21 pm on May 5, 2009 (gmt 0)

10+ Year Member

that seems to have worked, thanks! I guess it just needed an id=

Featured Threads

Hot Threads This Week

Hot Threads This Month