Specifications
447
dreamweaver.validateFlash()
Availability
Dreamweaver MX
Description
Determines whether Flash MX (or a later version) is installed on the local computer. 
Arguments
None.
Returns
A Boolean value. This function returns true if Flash MX (or a later version) is installed on the 
local computer; otherwise, it returns 
false.
File manipulation functions 
File manipulation functions handle creating, opening, and saving documents (including XML 
and XHTML), converting existing HTML documents into XHTML, and exporting cascading 
style sheets (CSS) to external files. These functions accomplish such tasks as browsing for files or 
folders, creating files based on templates, closing documents, and getting information about 
recently opened files.
dom.cleanupXHTML()
Availability
Dreamweaver MX
Description
Similar to convertToXHTML() but cleans up an existing XHTML document. This function can 
run on a selection within the document. You can run the 
cleanupXHTML() method to clean up 
the syntax in an entire XHTML document or in the current selection of a document.
Arguments
bWholeDoc
bWholeDoc
 holds a Boolean value. If the value is true, cleanupXHTML() cleans up the entire 
document; otherwise, this function cleans up only the selection.
Returns
An array of six integers that quantify the number of the following elements: 
• XHTML errors that Dreamweaver fixed
• map elements that do not have an id attribute and could not be fixed
• script elements that do not have a type attribute and could not be fixed
• style elements that do not have a type attribute and could not be fixed
• img elements that do not have an alt attribute and could not be fixed
• area elements that do not have an alt attribute and could not be fixed










