Jeff Pudwell wrote: > Instead of the Attach method receiving an nsISupports interface for nsView1, > it receives an nsISupports interface for nsIDomHTMLEmbedElement. > > Does anyone know if I can get the nsISupports interface for nsView1 or > the nsView1 interface through the nsIDomHTMLEmbedElement. > > Thanks, > Jeff
QueryInterface? as in ... var pass = document.View2.QueryInterface(Components.interfaces.nsIView1); document.View1.Attach(pass); ... or maybe there is a method on nsIDomHTMLEmbedElement to retrieve the underlying element. -rick
