Forum: Radiant CMS Flash In IE

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Kelly T. (Guest)
on 2009-01-10 22:17
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
Russ Johnson (Guest)
on 2009-01-10 22:32
(Received via mailing list)
How are you calling the flash? Are you using the javascript method to
load it or the old <embed> tags?
Kelly T. (Guest)
on 2009-01-11 00:19
Attachment: AC_RunActiveContent.js (0 Bytes)
Russ Johnson wrote:
> How are you calling the flash? Are you using the javascript method to
> load it or the old <embed> 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
Adam van den Hoven (Guest)
on 2009-01-11 02:46
(Received via mailing list)
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="movie" value="test6_flashvars.swf" />
        <param name="menu" value="false" />
        <param name="wmode" value="transparent" />
        <param name="flashvars"
value="name1=hello&amp;name2=world&amp;name3=foobar" />
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash"
data="test6_flashvars.swf" width="300" height="120">
          <param name="menu" value="false" />
          <param name="wmode" value="transparent" />

          <param name="flashvars"
value="name1=hello&amp;name2=world&amp;name3=foobar" />
        <!--<![endif]-->
          <div>
            <h1>Alternative content</h1>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img
src="http://www.adobe.com/images/shared/download_button...
" alt="Get Adobe Flash player" style="border:none;" /></a></p>
          </div>
        <!--[if !IE]>-->
        </object>

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

which I took from the last group of techniques available on this page:
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
Kelly T. (Guest)
on 2009-01-11 05:05
> 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
Nate T. (Guest)
on 2009-01-11 05:42
(Received via mailing list)
Use SWFobject: 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
Ceaser Larry (Guest)
on 2009-01-12 13:54
(Received via mailing list)
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.

http://github.com/ceaser/radiant-flash_content-ext...

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
Nate T. (Guest)
on 2009-01-12 15:41
(Received via mailing list)
On Sun, Jan 11, 2009 at 12:50 PM, Ceaser Larry
<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.
>
> http://github.com/ceaser/radiant-flash_content-ext...
>
>

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



~Nate
This topic is locked and can not be replied to.