setStyle didnt work either...got the same error _____
From: Ryan Florence [mailto:[email protected]] Sent: Thursday, 22 October 2009 1:26 AM To: [email protected] Subject: [Moo] Re: Setting the dimensions of a flash movie Give this a try: .setStyles({ 'height': 385, 'width': 605 }); Ryan Florence http://blog.flobro.com Recent Entry: Mootools Mixins On Oct 21, 2009, at 7:10 AM, Steve Onnis wrote: I am trying to set the width and height of an <object> tag that is being returned through a JSON request. this is what i am doing.. $("video").set("html", response.html); $("video").getElement("object").setProperty("height", "385"); $("video").getElement("object").setProperty("width", "605"); Works fine in FireFox but am getting an "Object does not support this method or property" error in IE Any suggestions? Steve
