SWFObject 2.2 and FireFox 3.5.5 problem

42 views
Skip to first unread message

Tom

unread,
Nov 17, 2009, 3:13:04 PM11/17/09
to SWFObject
Hey all,

Just wanted to share this with the group. I was using SWFObject 2.2
to embed a SWF into a generic HTML wrapper. The HTML literally had
nothing more than the JS and DIV tag needed to get this thing
running. When I tossed my finished product on the web I could view it
in Safari, IE 6 through 8, Google Chrome, and Opera. I could not view
it in FireFox 3.5.5 When I switched my SWFObject wrapper with the
HTML wrapper that is automatically generated by Flex I could then view
my SWF in FireFox. Again, the SWFObject wrapper that I was using did
not contain any CSS or any other JS calls that would cause the file to
typically only work in certain browsers.

Tom

Aran Rhee

unread,
Nov 17, 2009, 5:27:44 PM11/17/09
to swfo...@googlegroups.com
Tom.

While I can appreciate that your page is not working in FF, we cannot begin to help without seeing your code. Please post a link your page, so people can have a look.

Cheers,
Aran
 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "SWFObject" group.
To post to this group, send email to swfo...@googlegroups.com
To unsubscribe from this group, send email to swfobject+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---


Jason Fincanon

unread,
Dec 22, 2009, 1:37:42 PM12/22/09
to SWFObject
I'm having the exact same problem. Here's my html template code:


<!-- saved from url=(0014)about:internet -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<link rel="stylesheet" type="text/css" href="history/history.css" />
<title>${title}</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {linkName:"chatLink"};
var params = {menu:"false"};
var attributes = {id: "${application}",name: "${application}"};
swfobject.embedSWF ( "${swf}.swf", "${application}_div", "$
{width}", "${height}", "${version_major}.${version_minor}.$
{version_revision}", "expressInstall.swf", flashvars, params,
attributes );
swfobject.addLoadEvent(loadEventHandler);
function loadEventHandler() {
BrowserHistory.flexApplication = swfobject.getObjectById("$
{application}");
};
</script>
</head>
<body>
<div id="${application}_div">
<h1>Alternative content</h1>
<p><a href="http://www.adobe.com/go/getflashplayer"><img
src="http://www.adobe.com/images/shared/download_buttons/
get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
</body>
</html>


On Nov 17, 4:27 pm, Aran Rhee <aran.r...@gmail.com> wrote:
> Tom.
>
> While I can appreciate that your page is not working in FF, we cannot begin
> to help without seeing your code. Please post a link your page, so people
> can have a look.
>
> Cheers,
> Aran
>

> On Wed, Nov 18, 2009 at 7:13 AM, Tom <thomas.et...@gmail.com> wrote:
>
> > Hey all,
>
> > Just wanted to share this with the group.  I was using SWFObject 2.2
> > to embed a SWF into a generic HTML wrapper.  The HTML literally had
> > nothing more than the JS and DIV tag needed to get this thing
> > running.  When I tossed my finished product on the web I could view it
> > in Safari, IE 6 through 8, Google Chrome, and Opera.  I could not view
> > it in FireFox 3.5.5  When I switched my SWFObject wrapper with the
> > HTML wrapper that is automatically generated by Flex I could then view
> > my SWF in FireFox. Again, the SWFObject wrapper that I was using did
> > not contain any CSS or any other JS calls that would cause the file to
> > typically only work in certain browsers.
>
> > Tom
>
> > --~--~---------~--~----~------------~-------~--~----~
> > You received this message because you are subscribed to the Google Groups
> > "SWFObject" group.
> > To post to this group, send email to swfo...@googlegroups.com
> > To unsubscribe from this group, send email to

> > swfobject+...@googlegroups.com<swfobject%2Bunsu...@googlegroups.com>

Message has been deleted

Jason Fincanon

unread,
Dec 22, 2009, 4:11:00 PM12/22/09
to SWFObject
Found a solution.
Check out the <style> in comment #5:
http://code.google.com/p/swfobject/issues/detail?id=349#c5

Aran Rhee

unread,
Dec 22, 2009, 5:30:29 PM12/22/09
to swfo...@googlegroups.com
Yeah.

Reading the FAQ is a great place to start for any issues you may be facing. Chances are, other users have travelled then same path.

Aran

--


You received this message because you are subscribed to the Google Groups "SWFObject" group.
To post to this group, send email to swfo...@googlegroups.com.
To unsubscribe from this group, send email to swfobject+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.



Jason Fincanon

unread,
Dec 22, 2009, 11:07:22 PM12/22/09
to SWFObject
Indeed the FAQ usually is a great place to start, Aran.

The only problem with that in this instance is that this one wasn't
found in the FAQ. It was found buried deep within the issues list. On
top of that, it appears to have been closed and considered "invalid".
I'm not sure how it can be invalid if it's an actual problem. As a
matter of fact, I actually talked to quite a few developers today who
reported having the same exact problem.

Maybe it needs to be added to the FAQ so other people can find it
there when they start, huh?

But thanks for the help and words of encouragement! :)
-Jason

> > > > > swfobject+...@googlegroups.com<swfobject%2Bunsubscribe@googlegroups .com>
> > <swfobject%2Bunsu...@googlegroups.com<swfobject%252Bunsubscribe@googleg roups.com>


>
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/swfobject?hl=en
> > > > > -~----------~----~----~----~------~----~------~--~---
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "SWFObject" group.
> > To post to this group, send email to swfo...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > swfobject+...@googlegroups.com<swfobject%2Bunsubscribe@googlegroups .com>

Getify Solutions, Inc.

unread,
Dec 22, 2009, 11:15:16 PM12/22/09
to swfo...@googlegroups.com
Jason-
FAQ #1 is explicitly about this issue. I'm confused why you think it's not?

--Kyle

--------------------------------------------------
From: "Jason Fincanon" <jfin...@gmail.com>
Sent: Tuesday, December 22, 2009 10:07 PM
To: "SWFObject" <swfo...@googlegroups.com>
Subject: Re: SWFObject 2.2 and FireFox 3.5.5 problem

> swfobject+...@googlegroups.com.

Jason Fincanon

unread,
Dec 22, 2009, 11:40:42 PM12/22/09
to SWFObject
My mistake. I was looking for a question that more directly asked why
the swf wasn't showing up at all in Firefox, not how to make the width
100%.
While I stand corrected, I think there may need to be a question that
addresses the issue as it seems most people see it: "why doesn't my
swf show up in Firefox?"... even with that, the answer could point to
FAQ #1... I talked to a lot of devs today who had the same problem and
had no idea why it was happening. Some were even saying that SWFObject
+ Firefox 3.5 = flakey and they were exploring other options.

Might just need a little more clarity in the question I think.

Thanks for pointing it out to me Kyle.
-Jason

On Dec 22, 10:15 pm, "Getify Solutions, Inc." <get...@gmail.com>
wrote:


> Jason-
> FAQ #1 is explicitly about this issue. I'm confused why you think it's not?
>
> --Kyle
>
> --------------------------------------------------

> From: "Jason Fincanon" <jfinca...@gmail.com>

Getify Solutions, Inc.

unread,
Dec 23, 2009, 9:47:37 AM12/23/09
to swfo...@googlegroups.com
Fair enough, we could probably amend the question to say:

"How can I create a SWF that will encompass 100% of the browser
window? --OR-- When I try to make my SWF stretch 100% of the browser window,
why does it disappear in Firefox?" :)


--Kyle


--------------------------------------------------
From: "Jason Fincanon" <jfin...@gmail.com>
Sent: Tuesday, December 22, 2009 10:40 PM

Jason Fincanon

unread,
Dec 23, 2009, 10:46:43 AM12/23/09
to SWFObject
Cool. Thanks Kyle! Sorry for my misunderstanding and any wrong
attitude that may have come across in it.
I'll point the others to FAQ #1.

Thanks again,
Jason

On Dec 23, 8:47 am, "Getify Solutions, Inc." <get...@gmail.com> wrote:
> Fair enough, we could probably amend the question to say:
>
> "How can I create a SWF that will encompass 100% of the browser
> window? --OR-- When I try to make my SWF stretch 100% of the browser window,

> why does it disappear inFirefox?"  :)
>
> --Kyle
>
> --------------------------------------------------
> From: "Jason Fincanon" <jfinca...@gmail.com>


> Sent: Tuesday, December 22, 2009 10:40 PM
> To: "SWFObject" <swfo...@googlegroups.com>

> Subject: Re: SWFObject 2.2 andFireFox3.5.5 problem


>
> > My mistake. I was looking for a question that more directly asked why

> > the swf wasn't showing up at all inFirefox, not how to make the width


> > 100%.
> > While I stand corrected, I think there may need to be a question that
> > addresses the issue as it seems most people see it: "why doesn't my

> > swf show up inFirefox?"... even with that, the answer could point to


> > FAQ #1... I talked to a lot of devs today who had the same problem and
> > had no idea why it was happening. Some were even saying that SWFObject

> > +Firefox3.5= flakey and they were exploring other options.


>
> > Might just need a little more clarity in the question I think.
>
> > Thanks for pointing it out to me Kyle.
> > -Jason
>
> > On Dec 22, 10:15 pm, "Getify Solutions, Inc." <get...@gmail.com>
> > wrote:
> >> Jason-
> >> FAQ #1 is explicitly about this issue. I'm confused why you think it's
> >> not?
>
> >> --Kyle
>
> >> --------------------------------------------------
> >> From: "Jason Fincanon" <jfinca...@gmail.com>
> >> Sent: Tuesday, December 22, 2009 10:07 PM
> >> To: "SWFObject" <swfo...@googlegroups.com>

> >> Subject: Re: SWFObject 2.2 andFireFox3.5.5 problem

> >> >> > > > > it inFireFox3.5.5 When I switched my SWFObject wrapper with


> >> >> > > > > the
> >> >> > > > > HTML wrapper that is automatically generated by Flex I could
> >> >> > > > > then
> >> >> > view

> >> >> > > > > my SWF inFireFox. Again, the SWFObject wrapper that I was

Aran Rhee

unread,
Dec 23, 2009, 5:47:47 PM12/23/09
to swfo...@googlegroups.com
@Kyle - I was going to edit the wiki page, but I see you have already done that :)

A
Reply all
Reply to author
Forward
0 new messages