Indeed swfaddress 2.3 only works with swfobject 2.1 in IE7 and IE6
and
swfobject 2.2 works with swfaddress 2.2 and not swfaddress 2.3 or 2.3
latest trunk in IE7 and IE6
I guess it's up to developers which way they go.
I guess you could argue that the bug is in swfobject - or you could
argue that the bug is in swfaddress. Is it nigh on impossible to test
compatibility between libs ? possibly. . . .
The fact is there are many people who must use swfaddress and
swfobject together so perhaps this needs to be mentioned in known
issues on both projects ?
If I get some time I will try and discover what is breaking
compatibility. . . don't hold your breath though - I can think of more
interesting things to do ;)
Thanks for the help with tracking this down.
On Jul 6, 12:50 pm, Rostislav Hristov <
rostislav.hris...@gmail.com>
wrote:
> Different people have reported such an issue with SWFAddress 2.3.
>
> You can use SWFAddress 2.2 or the SVN copy that seems to work
> correctly.
>
> If you go with the SVN copy then please update both your JS and AS
> files.
>
> You can download them athttp://
swfaddress.svn.sourceforge.net/viewvc/swfaddress/trunk/swfaddr...
>
> -Rostislav
>
> On Jul 6, 11:38 am, k Guleesh <
k.s.gule...@googlemail.com> 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
> > > 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 <
k.s.gule...@googlemail.com>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);