PDA

View Full Version : .swf not showing up


Layne SMith
11-13-2008, 05:36 PM
Hello.

I'm a bit desperate.

I had an swf banner on my vBulletin site that worked great for many years. I've recently upgraded to ActionScript 3.0 and rebuilt the banner. But now, the banner doesn't show up, it's just a grey box. However, when you go to the direct link to the banner it shows up fine. Does anyone have any suggestions?

Thanks.

The problem: (http://newsartists.org/) Note the grey box under $navbar
The direct link (http://newsartists.org/forums/imagebanners/banner.swf) that works

Here's the code I'm using in my FORUMHOME sheet right under $navbar
<!-- Begin Image Banner -->
<if condition="THIS_SCRIPT == index">
<table cellpadding="0" cellspacing="0" border="0" width="900" {tableinvisibleextra} align="center">
<tr><td>

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="900" height="100" id="banner" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="banner.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque">
<param name="menu" value="false">
<param name="bgcolor" value="#666666" />
<embed src="banner.swf" quality="high" wmode="opaque" menu="false" bgcolor="#666666" width="900" height="100" name="banner" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</td></tr>Thanks for your help.

--------------- Added 1226605459 at 1226605459 ---------------

When I place that code in its own page the .swf shows just fine. It's almost as if something with vBulletin is interfering.

http://newsartists.org/forums/imagebanners/banner.html

--------------- Added 1226685531 at 1226685531 ---------------

Figured it out.

The images were being loaded from an XML file. After installing the debugger version of Flash I discovered a sandbox error. I updated my crossdoain.xml file and everything works fine now.

I found the solution here (http://curtismorley.com/2007/09/01/).

Thanks for everyone's help.