SiteFormat

Kind of class: public class
Package:
Inherits from:
  • none
Classpath: com.johnpolacek.application.SiteFormat
File last modified: Wednesday, 16 February 2011, 18:35:25

Summary

Constructor
Instance properties

Constructor

SiteFormat

function SiteFormat(xml:XML = null)

Instance properties

background

background:String = "0x000000"(read,write)

The url of the image or hexadecimal value of the color of the background Default: "0xFFFFFF"

contentPath

contentPath:String = "content/"(read,write)

Path to all the content files (jpg, flv, etc.) Default: "content/"

fonts

fonts:Array = [](read,write)

Array containing filepaths to all runtime fonts (e.g. "fonts/ArialBlack.swf") Default: [] (No runtime fonts, all text rendered as Times New Roman)

footerFormat

footerFormat:ContentPanelFormat = null(read,write)

Object that contains formatting for the footer Default: null (No footer)

headerFormat

headerFormat:ContentPanelFormat = new ContentPanelFormat()(read,write)

Object that contains formatting for the header Default: Default format

lightboxFormat

lightboxFormat:LightboxFormat(read,write)

The lightboxFormat property is a lightboxFormat object that is applied to the lightbox. Default: Default LightboxFormat object

lineColor

lineColor:uint = 0x000000(read,write)

Sets the color of any divider lines. Default: 0x000000

margin

margin:int = 20(read,write)

The margin property determines the margin around the content container. Default: 20

masthead

masthead = {}(read,write)

Object that contains formatting for the header masthead Default: {} (No masthead)

scrollbar

scrollbar = {}(read,write)

Object that contains formatting for the scrollbar Default: {} (Default format)

sectionFormat

sectionFormat:ContentPanelFormat = new ContentPanelFormat()(read,write)

Object that contains formatting for content sections Default: Default format

sidebarFormat

sidebarFormat:ContentPanelFormat = null(read,write)

Object that contains formatting for the sidebar Default: null (No sidebar)

textStyleSheet

textStyleSheet:StyleSheet = new StyleSheet()(read,write)

StyleSheet that is applied to all html-formatted text Default: Empty StyleSheet (No styling)