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_buttons/get_flash_player.gif " 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


On 10-Jan-09, at 2:19 PM, Kelly Torian wrote:

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

Attachments:
http://www.ruby-forum.com/attachment/3145/AC_RunActiveContent.js

--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to