Does flash version need to be specified in swfobject?

138 views
Skip to first unread message

Alayna11

unread,
Jun 15, 2012, 10:52:10 AM6/15/12
to swfo...@googlegroups.com
The code I am using was made by the swfobject generator and parts have been added to deal with minimum width and height and add scroll bars etc, plus also flash vars. so I don't want to just generate new code, I want to use what I have. Problem is the code I have mentions flash version 6.0.0.
My question is do I need to change this periodically to reflect the most recent flash player version, ie 11.0.0???
Or do I need to leave it as 6.0.0.
If u want to see the source code I am talking about please view qv-creative.com. Index.html.

Any advice would be most appreciated. Thanks.

Aran Rhee

unread,
Jun 15, 2012, 11:04:37 AM6/15/12
to swfo...@googlegroups.com
The version number in SWFObject tells the browser the MINIMUM version of Flash player the user has to have in order to view your content correctly. You only need to update this number if you publish your swf content from the Flash IDE with features that require a new Flash player (e.g. 3D capabilities in FP11, using actionscript 3 from FP9 etc). If your content hasn't changed, then you don't need to change it. (from what I can see in your page, no changes are required)

e.g. If you needed your users to have Flash player 11, change the following in your page:

//line 56 to :
swfobject.embedSWF("index.swf", "content", "100%", "100%", "11.0.0", false, flashvars, 

// line 59 to:
if (swfobject.hasFlashPlayerVersion("11.0.0")) {


Regards,
Aran


--
You received this message because you are subscribed to the Google Groups "SWFObject" group.
To view this discussion on the web visit https://groups.google.com/d/msg/swfobject/-/zhLJNiPRsL8J.
To post to this group, send email to swfo...@googlegroups.com.
To unsubscribe from this group, send email to swfobject+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.


Alayna11

unread,
Jun 18, 2012, 9:28:57 AM6/18/12
to swfo...@googlegroups.com
Thanks for the clarification... 

To unsubscribe from this group, send email to swfobject+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages