Hides the HTML element passed in via the elem param from view.
Developers should use this function within their hideFlashCallback function to hide the element as soon as possible. Since Facebook will call this function 200ms later, and the implementation may change, using it is the only way to guarantee forward compatibility.
var element = document.getElementById('myGreatFlashObjectElement');
FB.Canvas.hideFlashElement(element);
| Name | Type | Description |
|---|---|---|
| elem | Object | HTML Element to be hidden, generally a Flash Object element. |