This project is archived and is in readonly mode.

#594 ✓invalid
Vigvari

Does't work flashElement.get() method in ie6

Reported by Vigvari | February 15th, 2009 @ 07:13 PM

Hello,

I tried to use element.get('width') on a flash element after I created with Swiff but it didn't work in ie6.

Here is an example code:


window.addEvent('domready', function(){
  new Swiff('http://www.youtube.com/apiplayer?enablejsapi=1&playerapiid=mootube',{
        id: "myytplayer",
        width:300,
        height:300,
        container:$('flash'),
        params:{
          allowScriptAccess: "always",
          bgcolor: "#cccccc",
          wmode:"transparent"
        }
      });
		alert("getAttribure('width'): "+$('myytplayer').getAttribute('width'));
		alert("get('width'): "$('myytplayer').get('width'));
});

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

Pages