Change Log
ver 3.0
added - reference to HTMLManager in component.htmlManager property
added - items property on htmlManager that contains an array collection of html components
added - added event declarations at top of class
added - external callback to swf.onPageCreationComplete(). dispatches "onLoadComplete" event. not implement in this release
added - removeListeners method. removes listeners setup in creation complete event.
added - insidePopUp property. is true if component is inside of a pop up window.
added - removeElementOnRemove property. if true element is removed from the dom. if false element is hidden.
added - removeElement() method. removes element from the dom.
added - refreshElement() method. resize and reposition. if the first arguement is true then rerender / overwrite the HTML element.
added - callback when element is created (division and iframe may not be completely accurate - test with your application)
added - can add dynamic includes. can now include js files. may not work as expected when js is not on your site. test with your html.
added - includes can be called before or after html element is created using includesBefore and includesAfter
added - embedded javascript support. called after element has been created.
added - renderAtStartup. prevents rendering of component. call render to render html element.
added - render method. call to render html element again. rewrite over the original.
added - call method. used to call javascript expression.
added - editorType property. used to define a different editor.
added - refresh method. reexamines the location and size and rerenders if first param is true.
added - setPosition - sets the location and size of the html element.
added - setDocumentTitle - sets the title of the HTML page in the browser.
updated - rich text editor now uses the includesBefore tag. see example.
changed - changed from mxml class to as3 class - html.as
changed - prefixed javascript function names with "fc" to avoid name collisions
fixed - htmlCreationComplete was not called for HTML Components without id's. IE created dynamically in pop ups
fixed - html element will now correctly be removed when pop up window is closed.
fixed - when application / browser resized the html frame would be hidden.
ver 2.0
fixed - does not calculate correct html div position when using up and down arrows in application scrollbars
fixed - does not calculate correct html div position when app is scrolling and in container
fixed - does not stay hidden when in viewstack 2 levels deep
fixed - would throw an error when setting fitToContentHeight to true in mxml
added - clearHTMLText - clears the html text on a successful load. gets rid of flicker when showing or hiding
added - support for FCKEditor
added - getHTML method to get div.innerHTML or FCKEditor XHTML content