tags:

views:

41

answers:

1

Is there any way to read the width and height of a flash object using jQuery?

+2  A: 

have you tried something like $("object").height() and $("object").width(); are you using swfobject to embed the flash?

Chris Gutierrez
yes i am using an swf object
David Bonnici
it worked! In the same way how can I set the width and height with jquery?
David Bonnici
you could trying doing $("object").height(val); $("object").width(val);
Chris Gutierrez