Do you have any comment or questions about cg219 file?
Reply to
Please register &
login before you post!
fantero
/ flash & video
Details
Uploaded: 24 December 2008
Opens With: MX (6+)
Files Included: XML, HTML, FLA, SWF, AS
Size: 1.6kb
Action Script: AS3
Resolution: Resizable
Documentation: good
Do you like this file?
AS3 FullSWF Preloader v2.0 FlashVar + XML
Description: Simple and easy to set up. The file never even needs to be opened to customize the preloader. All settings are set in the flashvars of the html calling your swf. The preloader adjusts its size when the browser is resized.
____________________________________________________________________
Here is a list of the settings
color = Color of the Sliding area. Usage: Accepts a hex number starting with “0xâ€. Ex: 0xFFFF00
fadeOut = Speed of which the preloader fades out. Usage: Accepts a Number. Ex: .06
loadedSwf = swf you want to load. Usage: Accepts a swf filename with the extension. Ex. mainmovie.swf
percentColor = color of the percentage text. Usage: Accepts a hex number starting with “0xâ€. Ex: 0×0000FF
percentSize = font size of the percent. Usage: Accepts a Number. Ex: 24
direction = direction the preloader animates. Usage: Accepts “v†for Vertical and “h†for Horizntal. Default if nothing there is horizontal. Ex: h
Example of the flashVar string color=0×222222&fadeOut=0.2&loadedSwf=tester.swf&percentColor=0xEF0038&percentSize=36&direction=v
For the XML Version, All settings are set in a XML file called “pconfig.xmlâ€. It needs to be located in the same directory as the preloader swf file.
___________________________________________________________
Here is a list of the settings
= Color of the Sliding area.
Usage: Accepts a hex number starting with "0x".
Ex: 0xFFFF00
= Speed of which the preloader fades out.
Usage: Accepts a Number.
Ex: .06
f = swf you want to load.
Usage: Accepts a swf filename with the extension.
Ex. mainmovie.swf
= color of the percentage text.
Usage: Accepts a hex number starting with "0x".
Ex: 0x0000FF
= font size of the percent.
Usage: Accepts a Number.
Ex: 24
= direction the preloader animates.
Usage: Accepts "v" for Vertical and "h" for Horizntal. Default if nothing there is horizontal.
Ex: h
Example of the XML File
tester.swf
36
0xEF0038
0x444444
.05
v
NOTE
Only thing that needs to be changed within the file is the Font, if you decide to change it. Its Arial by default.
Do Not modify these classes…. XMLLoader LoaderHelper ParamEvent