GhostWire Loader - Configurations
Loader

contentPath
Specify the path to the file to be loaded into the Loader - this should be an absolute or relative URL. Note that if you specify this, the content will be loaded automatically upon startup. If you wish to load content dynamically at a specific point in time (instead of immediately upon startup), you should leave this parameter empty and set this property via actionscript and then call the load() method.
scaleContent
Specify whether the loaded content should be resized to fit the size of the Loader instance (true) or whether the content should maintain its original size (false). Note that when resizing the loaded content, the Loader component will first invoke the 'setSize' method defined in the loaded SWF, if any, before trying to scale it manually.
aspectRatio
Specify whether the loaded content should maintain its aspect ratio when it is resized thereby resizing the image proportionally (true), or whether we should just scale the content to the same width and height of the Loader instance (false), which may distort the image. This property is applicable only if 'scaleContent' has been set to 'true'.
connectText
Specify the text to display when the Loader is trying to establish a connection to the server.
loadText
Specify the text to display when the target file is being loaded into the Loader instance. In the string value, a "%p" is used as the placeholder for the progress precentage value.
font
Specify the font to use for the text.
fontsize
Specify the size of the font.
fontcolor
Specify the color of the font.
useEmbedFonts
Specify whether the component should use the embedded version of the font. If 'true', make sure that you have embedded the font - it is recommended that you create an empty dynamic textfield on the stage and embed the characters.
progressBar
Specify the instance name of the ProgressBar instance to be used to track the loading progress. Note that this is optional - you do not need to use any ProgressBar if you do not wish to. The ProgressBar instance should be at the same level as the Loader instance.
timeout
Specify whether the amount of time, in milliseconds, that must lapse while the Loader instance is not getting any data from the server before an 'onTimeout' event is triggered.
Flash Components
Button :: CheckBox :: CollapsibleMenu :: CollapsiblePane :: ColorPicker :: ComboBox :: ContextMenu :: DialogBox :: InputField :: ListBox :: Loader :: Menu :: SlideMenu :: NumericBox :: Panel :: ProgressBar :: RadioButton :: ScrollBar :: ScrollPane :: SlidePane :: Slider :: TabView :: TextArea :: TreeView :: Window
See also
Documentation :: FAQs :: Testimonials
|