Indeed - I am surprised no else has reported anything and am willing to accept that this may be down to something very stupid that I'm doing - what raised the alarm bell for me was that changing only the swfobject version to 2.1 made the flashvars work.
The Dynamic publishing test link you provided does work - so now I'm really confused. Could this be a flex / swfobject issue ? I have tested this in 3 ways on 3 machines machine 1 - windows XP SP2 IE6 machine 2 - windows XP SP3 IE7.0.5730.13 machine 3 - windows XP SP3 IETester (buggy test app with a bunch of IE ActiveX plugins IE5.5 IE6 IE7 IE8) It fails on all 3 setups in IE6 and IE7. I am wondering what happens if people visit my test link - does it work for them ? - and if there could possibly be an issue with the way Flex loads the vars. I didn't think for a minute that swfobject was released without testing - that is why I am very surprised by what I'm seeing here. In the mean time I have concocted an ExternalInterface call to pull in the flashvars object as a workaround - but I figured this needed reporting. On Jul 6, 3:10 am, Aran Rhee <[email protected]> wrote: > So do the test suite files work for you in IE6 / 7 ? > > http://code.google.com/p/swfobject/wiki/test_suite > > specifically: > > Dynamic publishing params > test:http://www.bobbyvandersluis.com/swfobject/testsuite_2_2/test_dynamic_... > > Static publishing params > test:http://www.bobbyvandersluis.com/swfobject/testsuite_2_2/test_params.html > > FYI - Before we release anything into the wild, we test builds with a wide > range of browsers, and we did not see any errors with Flashvars. You are the > first person to report this potential issue (and I would have thought we'd > have a lot more people complaining if 2.2 broke something as basic as > flashvars :) > > How are you testing in IE6/7? do you have actual installs or are you using > something like Tredosoft multiple IE or browsershots.org etc? > > Aran > > On Mon, Jul 6, 2009 at 11:13 AM, k Guleesh <[email protected]>wrote: > > > > > please look at this example I have made. > >http://dev.simply.tv/static > > > The example works if I use swfobject 2.1 but breaks with 2.2 in IE7 > > and IE6 > > > Has anybody else noticed flashvars broken in 2.2 ? > > > here is the flex app: > > > <?xml version="1.0" encoding="utf-8"?> > > <mx:Application > > xmlns:mx="http://www.adobe.com/2006/mxml" > > layout="absolute" > > applicationComplete="onCreation()" > > > <mx:Script> > > <![CDATA[ > > import mx.controls.Alert; > > private function onCreation():void > > { > > > if(Application.application.parameters.playlist_id != null) > > { > > var playlist_id = > > Application.application.parameters.playlist_id; > > Alert.show("PLAYLIST ID = > > "+playlist_id); > > } > > else > > { > > Alert.show("NO FLASHVARS"); > > //var s = > > ExternalInterface.call("getFlashvars"); > > //trace(s) > > } > > } > > ]]> > > </mx:Script> > > </mx:Application> > > > here is the html : > > > <html> > > > <head> > > > <script type="text/javascript" src="swfobject.js"></script> > > > <script type="text/javascript" src="swfaddress.js"></script> > > > <script type="text/javascript"> > > > // <![CDATA[ > > > var flashvars = { > > > playlist_id : "25618049001" > > > }; > > > var params = { > > > scale: "noscale", > > > AllowScriptAccess: "sameDomain", > > > allowFullscreen: "true", > > > bgcolor : "#222222" > > > }; > > > var attributes = { > > > id: "swf_div", > > > name: "swf_div" > > > }; > > > swfobject.embedSWF('FlashvarsTest.swf', "swf_div", "826", "350", > > "9.0.115","expressInstall.swf", flashvars, params, attributes); > > > // ]]> > > > </script> > > > </head> > > > <body> > > > <div id="swf_div"> > > > </div> > > > </body> > > > </html> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
