Re: [flexcoders] Re: Is SWFObject ready for prime time?

2008-04-22 Thread Bob Wohl
I just updated an application to use SWFObject 2.0 yesterday. Hopefully when
it gets to QA I won't get bombarded by failed browser issues. If so, I'll
just switch, so not to big of a deal.

Although, trying to remember, I've used SWFObject in a quite a few apps that
use ExternalInterface/JS in the past and only had to loop through the dom to
deal with IE,. Is it something internal to JQuery that was killing IE?
Or

B.

On Tue, Apr 22, 2008 at 11:02 AM, Cutter (Flex Related) <
[EMAIL PROTECTED]> wrote:

>   We switched over to SWFObject (then FlashObject) when the EOLAS patent
> stuff first came out, and it worked fantastic. Until we began to use
> JQuery. Some things were fine, but any page that had a flash object,
> renedered via SWFObject, would not be able to use any functions of
> JQuery. Wait, let me fix that statement: would not be able to use any
> functions of JQuery **in Internet Explorer** (go figure). We saw
> something similar with a legacy SWFObject call interfering with us using
> Ext on the same page. This took a little time to discover, and even
> longer to figure out, but basically SWFObject breaks the DOM in IE. We
> found that this wasn't an issue when we used the js that Flash bundles
> in when you compile your Flash movie, so we wrote a wrapper and started
> using that instead. It's worked flawlessly ever since.
>
> Steve "Cutter" Blades
> Adobe Certified Professional
> Advanced Macromedia ColdFusion MX 7 Developer
> _
> http://blog.cutterscrossing.com
>
>  
>


Re: [flexcoders] Re: Is SWFObject ready for prime time?

2008-04-22 Thread Cutter (Flex Related)
We switched over to SWFObject (then FlashObject) when the EOLAS patent 
stuff first came out, and it worked fantastic. Until we began to use 
JQuery. Some things were fine, but any page that had a flash object, 
renedered via SWFObject, would not be able to use any functions of 
JQuery. Wait, let me fix that statement: would not be able to use any 
functions of JQuery **in Internet Explorer** (go figure). We saw 
something similar with a legacy SWFObject call interfering with us using 
Ext on the same page. This took a little time to discover, and even 
longer to figure out, but basically SWFObject breaks the DOM in IE. We 
found that this wasn't an issue when we used the js that Flash bundles 
in when you compile your Flash movie, so we wrote a wrapper and started 
using that instead. It's worked flawlessly ever since.

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com



[flexcoders] Re: Is SWFObject ready for prime time?

2008-04-22 Thread Richard Rodseth
Isn't CSS wonderful? I found the answer here:

http://code.google.com/p/swfobject/wiki/SWFObject_2_0_faq_web_authors

Any general experience reports or comments about SWFObject are still welcome.

On Mon, Apr 21, 2008 at 4:09 PM, Richard Rodseth <[EMAIL PROTECTED]> wrote:
> I need a simple template for embedding a Flex app such that it takes
>  up the whole window, no scroll bars, and resizes with the window, and
>  takes a couple of Flashvars.
>
>  I'm drawn to SWFObject because the wrapper code looks so much cleaner,
>  but the following does not display at all in Firefox 2.0.0.14 on Mac.
>
>  I'd appreciate any advice on the current best choice for deployment.
>
>  Thanks
>  - Richard
>
>
>"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
>  http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
> 
> SWFObject v2.0 dynamic embed sample page
> 
> 
> 
>  var flashvars = {
>   name1: "Hello",
>   name2: "world",
>   name3: "foobar"
>  };
>  var params = {movie:"${swf}.swf", bgcolor:"${bgcolor}",
>  allowScriptAccess:"sameDomain"};
>  var attributes = {};
> swfobject.embedSWF("${swf}.swf", "myContent", "${width}",
>  "${height}", "9.0.0", "expressInstall.swf",
>  flashvars,params,attributes);
> 
> 
> 
> 
> Alternative content
>  href="http://www.adobe.com/go/getflashplayer";>  
> src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif";
>  alt="Get Adobe Flash player" />
> 
> 
>  
>