[cfaussie] Re: IE and Objects in browser

2006-06-08 Thread Tom Kerr


On Fri, Jun 09, 2006 at 02:30:10PM +1000, Joel Cass wrote:
> > Andrew Scott asked:
> > With the new updates to IE is there a way to tell the browser to not
> > have to click the object to activate it, or is this something that
> > will break the law suit against M$?
> 
> Hi,
> 
> You have to call a function to write the flash from script (this was
> adapted from macromedia's solution).
> 
> 
> 
> Then, use it as follows
> 
> -
> 
>   
> 
> 
> 
> 
>   createFlash (movie, width, height, flashVars, allowscale, 
> allowtransparent)
> 
> -
> 
> Now I'm just being too helpful
> 
> joel

Of course you'll want to add the 'standard' version in a  tag
below this.  Folks without js enabled will get the notification in IE,
but that seems unavoidable.  

Don't have it handy, but one of the guys here started work on some JS
that looped over embed tags within noscript tags and automatically did
the equivalent of your createFlash() call.  The approach showed a lot of
promise.

-T

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: IE and Objects in browser

2006-06-08 Thread Joel Cass

Hi,

You have to call a function to write the flash from script (this was adapted 
from macromedia's solution).

-
function createFlash (movie, width, height, flashVars, allowscale, 
allowtransparent) {
if (allowscale == undefined) { allowscale = 0; }
if (allowtransparent == undefined) { allowtransparent = 1; }
document.write("http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\";
 width=\"" + width + "\" height=\""+height+"\">");
document.write("");
document.write("");
document.write("");
document.write("");
if (allowscale) {
document.write("");
}
if (!allowtransparent) {
document.write("");
}
document.write("http://www.macromedia.com/go/getflashplayer\"; 
type=\"application/x-shockwave-flash\" width=\""+width+"\" 
height=\""+height+"\">");
document.write("");
}
-

Then, use it as follows

-






createFlash (movie, width, height, flashVars, allowscale, 
allowtransparent)

-

Now I'm just being too helpful

joel

-----Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] Behalf Of Dale Fraser
Sent: Friday, 9 June 2006 2:20 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: IE and Objects in browser


Andrew,
 
My understanding was that it was how it was called, and if you call it 
correctly you won’t have any problems.
 
I’m sure this is the case, do a search and I’m sure you will find it.
Regards
Dale Fraser



From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew 
Scott
Sent: Friday, 9 June 2006 14:01 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] IE and Objects in browser
 
Hi All,
 
With the new updates to IE is there a way to tell the browser to not have to 
click the object to activate it, or is this something that will break the law 
suit against M$?
 
 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273
 






--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~--~~~~--~~--~--~---



[cfaussie] Re: IE and Objects in browser

2006-06-08 Thread Dale Fraser








Andrew,

 

My understanding was that it was how it was called,
and if you call it correctly you won’t have any problems.

 

I’m sure this is the case, do a search and I’m
sure you will find it.



Regards
Dale Fraser











From:
cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Scott
Sent: Friday, 9 June 2006 14:01 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] IE and Objects
in browser



 

Hi All,

 

With the
new updates to IE is there a way to tell the browser to not have to click the
object to activate it, or is this something that will break the law suit
against M$?



 

 

Senior
Coldfusion Developer

Aegeon
Pty. Ltd.

www.aegeon.com.au

Phone: +613
 8676 4223

Mobile: 0404 998 273

 








--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "cfaussie" group.  To post to this group, send email to cfaussie@googlegroups.com  To unsubscribe from this group, send email to [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/cfaussie  -~--~~~~--~~--~--~---






[cfaussie] Re: IE and Objects in browser

2006-06-08 Thread Ryan Sabir




SWFobject will do it:
http://blog.deconcept.com/swfobject/
 
But be careful if you are pushing _javascript_ variables into the Flash.. 
sometimes it doesn't instantiate itself quick enough to catch 
them.
 
 

  
  
  From: cfaussie@googlegroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Andrew 
  ScottSent: Friday, 9 June 2006 2:01 PMTo: 
  cfaussie@googlegroups.comSubject: [cfaussie] IE and Objects in 
  browser
  
  
  Hi 
  All,
   
  With the new updates 
  to IE is there a way to tell the browser to not have to click the object to 
  activate it, or is this something that will break the law suit against 
  M$?
  
   
   
  Senior Coldfusion 
  Developer
  Aegeon Pty. 
  Ltd.
  www.aegeon.com.au
  Phone: +613 
   8676 4223
  Mobile: 0404 998 
  273
   

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "cfaussie" group.  To post to this group, send email to cfaussie@googlegroups.com  To unsubscribe from this group, send email to [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/cfaussie  -~--~~~~--~~--~--~---