ABSTRACT

The parser will recognize the title tag and the style sheet link tag and apply the style sheet and the body tag to set a background color. In order to see the contents of the XHTML file in a manner similar to a browser window, we need to set up a text field or text area component in the .fla file. Some people don’t like to use components because of their higher file size. The final parser script will be a few lines longer and will be able to recognize the style sheet link and apply the style sheet to the text. Since upon completion of the onLoad event the style sheet is downloaded from the server, we can now load the body portion, which is held by the variable “thisText”. The chapter added the “myClip” variable here as well, since the variable “thisText” cannot be found within the scope of the onLoad event function.