fullcatrooms / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

flashvars broken in IE7 and IE6 with swfobject 2.2 #337

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
swfobject 2.2 flashvars not working for me in IE6 and IE7.

Works fine in Firefox 3 and IE8. (haven't checked other browsers yet) 

swfobject 2.1 is ok in IE7 and IE8.

Can anyone confirm ?

Here is what I'm doing - (just in case I am doing something stupid here)

Flex APP code:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" 
    layout="absolute"
    applicationComplete="onCreation()"
    >
    <mx:Script>
        <![CDATA[
            private function onCreation():void
            {
                if(Application.application.parameters.playlist_id != null)
                {
                    playlist_id = Application.application.parameters.playlist_id;
                }
                else
                {
                    Alert.show("NO PLAYLIST ID");
                }
            }
        ]]>
    </mx:Script>
</mx:Application>

HTML code:

<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>

Original issue reported on code.google.com by k.s.gule...@googlemail.com on 5 Jul 2009 at 3:47

GoogleCodeExporter commented 9 years ago
Flashvars work fine, please use the discussion group for authoring questions:
http://groups.google.com/group/swfobject

Original comment by bobbyvandersluis on 5 Jul 2009 at 7:35

GoogleCodeExporter commented 9 years ago
can you look at dev.simply.tv/static - I have created an example of this 
behaviour. I
will post in the discussion group too.

Original comment by k.s.gule...@googlemail.com on 6 Jul 2009 at 1:13

GoogleCodeExporter commented 9 years ago
flashvars do not work fine - ie6 is not getting any flashvars from swfobject 
2.2 as
of today.

Original comment by dkindeli...@gmail.com on 22 Jul 2009 at 9:04

GoogleCodeExporter commented 9 years ago
debugging, swfaddress conflicts with swfobject on ie6 and somehow parameters 
are not
put in.

Original comment by dkindeli...@gmail.com on 22 Jul 2009 at 9:15

GoogleCodeExporter commented 9 years ago
This is a repeat of issue 338 - 
http://code.google.com/p/swfobject/issues/detail?
id=338

Please read the associated thread / fix.

Original comment by aran.rhee@gmail.com on 27 Jul 2009 at 12:05

GoogleCodeExporter commented 9 years ago
I´ve got the same problem here.
Flashvars don´t work in ie6 for me.

Original comment by jannis.b...@googlemail.com on 26 Feb 2010 at 3:13

GoogleCodeExporter commented 9 years ago
@ #6 - post your authoring issues to the swfobject mailing list. This issue was 
already 
marked as invalid, so posting messages here will not get the response you are 
afer...

Original comment by aran.rhee@gmail.com on 28 Feb 2010 at 4:39