@Rostislav Ok, thanks for the info. Is there a official release build of SWFAddress which uses the new DOM method, or is it still in SVN only? (it would be great to be able to point to a FAQ / download for users)
Aran On Tue, Jul 7, 2009 at 6:26 PM, Rostislav Hristov < [email protected]> wrote: > > Hi Aran, > > SWFAddress requires a hidden IFRAME for IE and in 2.3 I changed the > way it's created. > > In previous versions I used the DOM method appendChild() but in order > to avoid another issue I switched to modifying the body.innerHTML > property. > > This resulted in various unpleasant problems like this one with the > FlashVars and was recently reverted to another DOM based approach. > > In general if someone does something like the above using innerHTML it > can break such features in swfobject. > > > Best, > Rostislav > > > On Jul 7, 2:17 am, Aran Rhee <[email protected]> wrote: > > @k Guleesh - Thanks for the persistence to work out what was actually the > > use case to reproduce. It makes our life a lot easier in finding possible > > fixes. > > > > I have added a issue entry for this now: > http://code.google.com/p/swfobject/issues/detail?id=338 > > > > @Rostislav - let me know what you would like to do in order to look into > the > > SWFObject 2.2 + SWFAddress 2.3 incompatibility. I am happy to set up some > > test cases etc to try to work through what is actually going on. > > > > Cheers, > > Aran > > > > On Tue, Jul 7, 2009 at 3:02 AM, Getify Solutions, Inc. <[email protected] > >wrote: > > > > > > > > > > > > > Indeed, get "No flashvars" now. > > > > > --Kyle > > > > > -------------------------------------------------- > > > From: "k.s.guleesh" <[email protected]> > > > Sent: Monday, July 06, 2009 12:00 PM > > > To: <[email protected]> > > > Subject: Re: Flashvars problem in IE7 IE6 with swfobject 2.2 > > > > > > Thanks for testing it Kyle - > > > > > > you may have caught it at the moment I changed to using swfaddress > 2.2 - > > > > I have changed it back to use swfaddress 2.3 > > > > > > It should be broken again now. > > > > > > On Mon, 2009-07-06 at 07:30 -0500, Getify Solutions, Inc. wrote: > > > >> I see a playlist ID in IE7 on winXP SP3. > > > > > >> --Kyle > > > > > >> -------------------------------------------------- > > > >> From: "k Guleesh" <[email protected]> > > > >> Sent: Monday, July 06, 2009 6:48 AM > > > >> To: "SWFObject" <[email protected]> > > > >> Subject: Re: Flashvars problem in IE7 IE6 with swfobject 2.2 > > > > > >> > So did you actually click on this link ? > > > >> >http://dev.simply.tv/static/ > > > > > >> > I would like to know if it displays a PLAYLIST ID or does is say > NO > > > >> > FLASHVARS when viewed in IE6 or IE7 - > > > > > >> > Just because one test in the test_suite works - that doesn't > exclude > > > >> > the possibility of a bug. Just means you may have to write a > better > > > >> > test. > > > > > >> > One issue that you haven't answered - why does changing it to > > > >> > swfobject 2.1 (and leaving everything else the same) work in IE7 > IE6 ? > > > > > >> > On Jul 6, 9:38 am, k Guleesh <[email protected]> wrote: > > > >> >> 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 theflashvarswork. > > > > > >> >> 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 > > > >> >> theflashvarsobject 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 withFlashvars. > 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 noticedflashvarsbroken 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("NOFLASHVARS"); > > > >> >> > > //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[ > > > > > >> >> > > varflashvars= { > > > > > >> >> > > 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 -~----------~----~----~----~------~----~------~--~---
