# Flash In IE

**URL:** <https://www.ruby-forum.com/t/flash-in-ie/157409>\
**Category:** Radiant CMS\
**Created:** [January 10, 2009, 9:17pm UTC](https://www.ruby-forum.com/t/flash-in-ie/157409 "2009-01-10T21:17:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ocelotspot](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/ecccb3/32.png) [@ocelotspot](https://www.ruby-forum.com/u/ocelotspot)\
**Post date:** [January 10, 2009, 9:17pm UTC](https://www.ruby-forum.com/t/flash-in-ie/157409/1 "2009-01-10T21:17:41Z")

</div>

Have a site that is using a basic flash slide show in the header. It  
shows on both MAC and PC platforms in every browser except IE.

Anyone have insight?

Sincere thanks.

Kelly

---

<div class="post-metadata">

**Author:** ![ocelotspot](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/ecccb3/32.png) [@ocelotspot](https://www.ruby-forum.com/u/ocelotspot)\
**Post date:** [January 10, 2009, 9:32pm UTC](https://www.ruby-forum.com/t/flash-in-ie/157409/2 "2009-01-10T21:32:01Z")

</div>

How are you calling the flash? Are you using the javascript method to  
load it or the old tags?

---

<div class="post-metadata">

**Author:** ![ocelotspot](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/ecccb3/32.png) [@ocelotspot](https://www.ruby-forum.com/u/ocelotspot)\
**Post date:** [January 10, 2009, 11:19pm UTC](https://www.ruby-forum.com/t/flash-in-ie/157409/3 "2009-01-10T23:19:18Z")

</div>

Russ Johnson wrote:

> How are you calling the flash? Are you using the javascript method to  
> load it or the old tags?

I’m using the embed tags in the header snipper where the slide show  
resides. However, in the layout I am calling an external link to a  
version checking java script within the head tags, provided by the  
artist who did the animation.

JS file is attached.

-Kelly

---

<div class="post-metadata">

**Author:** ![ocelotspot](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/ecccb3/32.png) [@ocelotspot](https://www.ruby-forum.com/u/ocelotspot)\
**Post date:** [January 11, 2009, 4:05am UTC](https://www.ruby-forum.com/t/flash-in-ie/157409/4 "2009-01-11T04:05:39Z")

</div>

> However, if you’re really married to the JavaScript and its not  
> working for some version of IE, you need to have your Flash Dude  
> figure out what’s wrong with his code.

LOL - it is a a butt-load of code and I’m not married to it at all.  
Your code did work and I can cut all that other garbage out.

Thanks so much, I am eternally grateful.

Kelly

---

<div class="post-metadata">

**Author:** ![ocelotspot](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/ecccb3/32.png) [@ocelotspot](https://www.ruby-forum.com/u/ocelotspot)\
**Post date:** [January 11, 2009, 1:46am UTC](https://www.ruby-forum.com/t/flash-in-ie/157409/5 "2009-01-11T01:46:45Z")

</div>

Wow, that is a lot of JavaScript.

Since MS has rolled back its “click to activate” end run around Eolas,  
its not really necessary any more. Further, something as simple as a  
slide show should be written to work on pretty much any version of  
Flash you’re going to find in the wild. I, honestly, can’t think of  
any good reason for all that JavaScript to get something that simple  
to run.

I would use the following:

```
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

```

width=“300” height=“120”\>

```
      <param name="flashvars"

```

value=“name1=hello&name2=world&name3=foobar” /\>

  

# Alternative content
  

[![Get Adobe Flash player](http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif)](http://www.adobe.com/go/getflashplayer)

  

  
  

```
    <!--<![endif]-->
  </object>

```

which I took from the last group of techniques available on this page:  
[http://www.bobbyvandersluis.com/flashembed/testsuite/](http://www.bobbyvandersluis.com/flashembed/testsuite/)

However, if you’re really married to the JavaScript and its not  
working for some version of IE, you need to have your Flash Dude  
figure out what’s wrong with his code

---

<div class="post-metadata">

**Author:** ![ocelotspot](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/ecccb3/32.png) [@ocelotspot](https://www.ruby-forum.com/u/ocelotspot)\
**Post date:** [January 11, 2009, 4:42am UTC](https://www.ruby-forum.com/t/flash-in-ie/157409/6 "2009-01-11T04:42:21Z")

</div>

Use SWFobject: [GitHub - swfobject/swfobject: An open source Javascript framework for detecting the Adobe Flash Player plugin and embedding Flash (swf) files.](http://code.google.com/p/swfobject/)

It is now the Adobe-recommended way to put flash on a page.

I haven’t found a way to use this with paperclipped yet, but I am sure  
there  
is a way.

~Nate

---

<div class="post-metadata">

**Author:** ![ocelotspot](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/ecccb3/32.png) [@ocelotspot](https://www.ruby-forum.com/u/ocelotspot)\
**Post date:** [January 12, 2009, 12:54pm UTC](https://www.ruby-forum.com/t/flash-in-ie/157409/7 "2009-01-12T12:54:00Z")

</div>

My first extension I created provides radiant tags to load flash  
objects using swfobject. If also works with paperclipped or any url  
string.  
You can find it on github its called radiant-flash\_content-extension.

> **[GitHub - ceaser/radiant-flash\_content-extension: Adds tags to make it easier to...](https://github.com/ceaser/radiant-flash_content-extension/tree/master)**
>
> master

Here is a example of how the tag works  
In the layout  
\<r:flash\_content:include /\>

In the page  
\<r:flash\_content:link width=“300” height=“120”\>  
\<r:assets:url title=“test” /\>  
\</\<r:flash\_content:link\>

Ceaser

---

<div class="post-metadata">

**Author:** ![ocelotspot](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/ecccb3/32.png) [@ocelotspot](https://www.ruby-forum.com/u/ocelotspot)\
**Post date:** [January 12, 2009, 2:41pm UTC](https://www.ruby-forum.com/t/flash-in-ie/157409/8 "2009-01-12T14:41:30Z")

</div>

On Sun, Jan 11, 2009 at 12:50 PM, Ceaser Larry  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> My first extension I created provides radiant tags to load flash objects  
> using swfobject. If also works with paperclipped or any url string.  
> You can find it on github its called radiant-flash\_content-extension.
> 
> [GitHub - ceaser/radiant-flash\_content-extension: Adds tags to make it easier to embed Adobe Flash content inside Radiant](http://github.com/ceaser/radiant-flash_content-extension/tree/master)

Oh man, I cannot wait to try this one out.

~Nate
