Closed GoogleCodeExporter closed 9 years ago
Also note that I'm using Adobe Flash Builder 4. Replacing swfobject with latest
version didn't help.
Original comment by hurt...@gmail.com
on 3 Apr 2010 at 11:18
This is not a SWFObject bug -- "play" is a reserved word in Flash Player, just
like
"stop". Flash Player uses these keywords as names for built-in methods. You
need to
use a different name for your callback.
Original comment by platelu...@gmail.com
on 3 Apr 2010 at 5:29
Then, it should'nt work for firefox and safari also ? However it works on those
browsers as a callback :)
Original comment by hurt...@gmail.com
on 5 Apr 2010 at 7:16
[deleted comment]
If everything that works in Safari and Firefox worked in IE my life would be
much
easier. ;)
IE is a different beast. Flash Player has a different build for IE
(built for ActiveX), and IE treats reserved words differently than FF and
Safari. For
example, in JavaScript if you try and use the reserved word "class", it will
work in
FF and Safari but fail in IE:
var class = "hello, world";
alert(class);
This also occurs with properties of objects:
var obj = { class: "hey there" };
alert(obj.class);
Original comment by platelu...@gmail.com
on 5 Apr 2010 at 5:03
Original issue reported on code.google.com by
hurt...@gmail.com
on 3 Apr 2010 at 11:11