I wish I could link to the actual page but I can't have a broken page
in our prod environment.

I went ahead and tried using the code generator and came back with the
same results. The Flash just doesn't appear if I am making a call to
the swfobject.js file.

The only thing I can't do that is considered best practices would be
to put the call to the JS file in the <head>.

Now that I am not calling in the JS file, the SWF will show. It will
also show static content to anyone who doesn't have FLash installed.
But it will not detect Flash versions.

If you want to see that page, here is the URL. (the guilty are no
longer protected I suppose =/  )

http://www.guess.ca/CategoryLanding.aspx?browse=1&page=GRID&root_category|3322=Shoes&category|cat_740|3322=Shoes


I've been playing around in Firebug trying to make changes to get this
to work, but to no avail.

Any help would be appreciated!

Thank you.










On Jul 16, 6:47 pm, Aran Rhee <[email protected]> wrote:
> @citznfish
>
> There is no inherent issues with having your swfobject.js file, you swf and
> your HTMl page all coming from different domains (there is no security
> preventing this).
>
> A link to your actual page will help greatly in trying to debug.
>
> As Vincent mentioned, have you used the code 
> generator:http://www.bobbyvandersluis.com/swfobject/generator/index.htmlto 
> construct
> your page? It will ensure everything is as it should be.
>
> Aran
>
> On Fri, Jul 17, 2009 at 7:56 AM, Vincent Polite <
>
> [email protected]> wrote:
> > Ack.  My apologies.  You are using the static publishing method and
> > apparently the objects ARE given the id tags, not the divs.  Please
> > disregard my ramblings for the moment.
>
> > Vincent
>
> > On Thu, Jul 16, 2009 at 2:53 PM, Vincent Polite <
> > [email protected]> wrote:
>
> >> I'm presuming that you changed the URLs to protect the guilty.  :)
> >> However, it makes it challenging to really decipher what might be happening
> >> in your particular case.  However, there are some obvious things that seem
> >> incorrect that might be the cause of your problem.
>
> >> SWFObject replaces a given object on your page with the flash file that
> >> you specify.  Because of this, in your example below, you need a <div> tag
> >> with id="shoes" to serve as your initial content.
>
> >> Basically if you have that div and put inside of it your alt-content that
> >> says, "Hey you don't have flash installed", then SWFObject will come along
> >> and if the user has the appropriate browser support for Flash will swap out
> >> that div and replace it with whatever you define in your SWFObject call.
>
> >> In your example below, you are not giving divs the id, but rather the
> >> actual objects, and I believe this is incorrect usage of SWFObject.js in
> >> general.
>
> >> If you do a search for code generator SWFObject on google, it should take
> >> you to a page that will help you generate the appropriate code to insert
> >> your flash.  In this case, I don't believe you should be running into any
> >> sort of cross-domain issues, but please let us know if switching some of
> >> your code around addresses your issue.
>
> >> Just as an aside, it's not clear (to me at least) what you mean by "if you
> >> remove the javascript call".  Is said call in your code below?
>
> >> Best wishes,
>
> >> Vincent Polite
>
> >> On Thu, Jul 16, 2009 at 2:05 PM, citznfish <[email protected]> wrote:
>
> >>> My sites use Akamai to host our files, but I seem to be having a
> >>> problem with the javascript portion of SWFObject
>
> >>> For example my site iswww.store.caor shop.store.com. This issue
> >>> happens on both.
>
> >>> but my files live on content.store.com (Akamai servers)
>
> >>> If I remove the Javascript call SWFObject 2.2 works fine except for
> >>> the flash version detect. If I make the JS call to swfobject.js I just
> >>> get a blank page though since it's choking on the JS file.  I *think*
> >>> this has something to do with JS and cross domain issues but need
> >>> someone to verify that is the case. Is there a work around for this? I
> >>> guess I could have the JS file put on each of our servers but I don't
> >>> have easy access to that.
>
> >>> <script type="text/javascript" src="http://content.store.com/swfobject/
> >>> swfobject.js <http://content.store.com/swfobject/%0Aswfobject.js>
> >>> "></script>
> >>>                <script type="text/javascript">
> >>>                swfobject.registerObject("shoes", "9.0.0");
> >>>                </script>
> >>> <div>
> >>> <object id="shoes" classid="clsid:D27CDB6E-
> >>> AE6D-11cf-96B8-444553540000" width="666" height="522">
> >>> <param name="movie" value="http://content.store.com/StoreCanada/
> >>> Landing/Shoes/2009-07-07/shoesCA.swf<http://content.store.com/StoreCanada/%0ALanding/Shoes/2009-07-07/shoe...>"
> >>> />
> >>> <param name="quality" value="high" />
> >>> <param name="menu" value="false" />
> >>> <param name="bgcolor" value="#ffffff" />
> >>> <param name="wmode" value="transparent" />
> >>> <param name="name" value="shoes" />
> >>> <param name="allowscriptaccess" value="always" />
> >>> <param name="allowfullscreen" value="false" />
> >>>                        <!--[if !IE]>-->
> >>> <object type="application/x-shockwave-flash" data="http://
> >>> content.store.com/StoreCanada/Landing/Shoes/2009-07-07/shoesCA.swf"
> >>> width="666" height="522">
> >>> <param name="quality" value="high" />
> >>> <param name="menu" value="false" />
> >>> <param name="bgcolor" value="#ffffff" />
> >>> <param name="wmode" value="transparent" />
> >>> <param name="name" value="shoes" />
> >>> <param name="allowscriptaccess" value="always" />
> >>> <param name="allowfullscreen" value="false" />
> >>> <!--<![endif]-->
> >>> <div><a href="http://shop.content.com/ProductListing.aspx?
> >>> page=GRID&browse=1&root_category|46=Women&category|cat_47|
> >>> 2816=Tees&rpt=<http://shop.content.com/ProductListing.aspx?%0Apage=GRID&browse=1&roo...>
>
> >>> &pt=ProductListing.aspx"><img src="http://content.store.com/
> >>> StoreCanada/Landing/Shoes/2009-07-07/shoesStaticImage.jpg<http://content.store.com/%0AStoreCanada/Landing/Shoes/2009-07-07/shoe...>"
> >>> alt="STORE
> >>> shoes" title="STORE shoes" border="0" /></a></p><p><h4>Our web site is
> >>> designed for Flash enabled browsers. If you would like the full
> >>> experience please install the latest Flash player by clicking <a
> >>> href="http://www.adobe.com/go/getflashplayer";>here.</a></h4></p>
> >>>                                </div>
> >>>                                <!--[if !IE]>-->
> >>>                                </object>
> >>>                                <!--<![endif]-->
> >>>                        </object>
> >>>                </div>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to