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
2009-11-24 17:20:59
yes i am using an swf object
David Bonnici
2009-11-24 17:22:54
it worked! In the same way how can I set the width and height with jquery?
David Bonnici
2009-11-24 17:31:39
you could trying doing $("object").height(val); $("object").width(val);
Chris Gutierrez
2009-11-24 17:56:48