Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Supporting Technologies > HTML and JavaScript

Thread Tools Rate Thread Display Modes
Old 07-22-2010, 07:36 PM   #1
Senior Member
Join Date: Oct 2002
Posts: 258
Red face Two different versions of swfobject.js - 1.4 and 2.0 - how to handle?

I have on the same server flash movies embedded using swfobject 1.4 and just tried one with swfobject 2.0.

Do I just rename the new swfobject.js.. swfobject2.js?
It has failed so far.

So the question in short is how to deal with two versions of swfobject.js in the same folder?

Thanks for your input.

wownflutter is offline   Reply With Quote
Old 07-22-2010, 07:46 PM   #2
Join Date: Apr 2006
Location: Almere, The Netherlands
Posts: 82

I would advise you to use just one version of the SWFObject (why do you still wanna use version 1.4 anyway?) otherwise you will get conflicts when you embed two versions of the swfobject on one page. If you don't wanna do that, you could rename one version and use them both
MSLourens is offline   Reply With Quote
Old 07-22-2010, 11:05 PM   #3
Senior Member
Join Date: Oct 2002
Posts: 258

In the page html, where do I need to address the use of the swfobject2.js

Would any of this have to change?

swfobject.embedSWF("untitled.swf", "myAlternativeContent", "800", "600", "9.0.0", false, flashvars, params, attributes);
wownflutter is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 07:38 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.