View Full Version : FPP flash 10 backwards compatible?
Jareish
11-06-2008, 08:57 AM
The website says, that the update to 2.2 => 2.3 is a silent update and doesn't require any additional changes to the xml. If the user has flash 9, it will use flash 9, if it has flash 10, it will use the hardware benefits of flash 10.
My question is, how can a user see a flash 10 swf file, if they only have flash 9? Because I'm altering the embedpano to fit my design, I have to save embedpano as a flash 10 file (flash 9 can't import flash 10 swf files (pano.swf)) But this makes the user require flash 10 to view the embedpano, doesn't it? Or am I missing something?
nidrig
11-06-2008, 11:29 AM
hello,
You are right; if you're using fpp v2.3, built with flash10 and want to embed it, you have to produce a flash 10 file. Thus, your user *must have* flash 10 to play the movie.
Now, I see two solutions:
1. using fpp v2.2 in embed files
2. increase the flash version detection in your swfobject (aka flash 10), thus force flash 9 users to upgrade
cu
ramirox3
11-06-2008, 12:00 PM
can you explain step by step how can I do to increase flash detection swf object?
Thanks
nidrig
11-06-2008, 12:32 PM
can you explain step by step how can I do to increase flash detection swf object?
Thanks
Thanks for your question, because I have now a better answer for Jareish:
You can create embed swf flash10 using fpp 2.3 and flash 9 users will still be able to see it! (I just tried). Keep the flash version to 9 in your swfobject. It's logical actually; as long as you're not using any player10 specific functions, your swf (even if compiled for player 10) with play correctly.
Now back to your question:
The syntax depends from which version of swfobject you're using. I highly recommend the latest:
http://code.google.com/p/swfobject/
Assuming you're using swfobject 2.1, find these lines in your html file:
<script type="text/javascript">
var flashvars = {};
var params = {};
params.quality = "high";
params.allowfullscreen = "true";
var attributes = {};
attributes.id = "embedPano";
attributes.name = "embedPano";
swfobject.embedSWF("embedPano.swf", "flashcontent", "100%", "100%", "9.0.0", "js/expressInstall.swf", flashvars, params, attributes);
</script>
now change the code in red to 10.0.0 and you're done!
You can also download the swfobject generator from the link above; it will spare you some code.
ramirox3
11-06-2008, 12:41 PM
thanks
thanks
very quick and clear response
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.