Flash Player 7
AdvancedLoaderPro.autoFeederFile:String
String. Filename of autofeeder file.
myAdvancedLoaderPro.autoFeederFile = "autofeeder.php"; trace(myAdvancedLoaderPro.autoFeederFile);
Flash Player 7
AdvancedLoaderPro.autoFeederFileTypes:Array
Array. List of file types to be read by the autofeeder file.
myAdvancedLoaderPro.autoFeederFileTypes = ["jpg", "swf"]; trace(myAdvancedLoaderPro.autoFeederFileTypes);
Flash Player 7
AdvancedLoaderPro.autoFeederFolder:String
String. The name of folder on the server the contents of which should be read by the autofeeder file.
myAdvancedLoaderPro.autoFeederFolder = "images/slideshow"; trace(myAdvancedLoaderPro.autoFeederFolder);
Flash Player 7
AdvancedLoaderPro.bytesLoaded:Number
Number (read only). Returns the number of bytes currently loaded of the component's current image.
trace(myAdvancedLoaderPro.bytesLoaded);
Flash Player 7
AdvancedLoaderPro.bytesTotal:Number
Number (read only). Returns the total number of bytes of the image the component is currently loading.
trace(myAdvancedLoaderPro.bytesTotal);
Flash Player 7
AdvancedLoaderPro.captionDateFormat:String
String. Determines the format of the date automatically generated by the autofeeder file.
myAdvancedLoaderPro.captionDateFormat = "y/m/d"; trace(myAdvancedLoaderPro.captionDateFormat);
Flash Player 7
AdvancedLoaderPro.captions:Array
Array. List of captions for slideshow relating to the src array.
myAdvancedLoaderPro.captions = ["This is image 1", "This is image 2", "This is image 3"]; trace(myAdvancedLoaderPro.captions);
Flash Player 7
AdvancedLoaderPro.captionTextfield:String
String. The instance name of the textfield that should display the current image's caption.
myAdvancedLoaderPro.captionTextfield = "myTextField"; trace(AdvancedLoaderPro.captionTextfield);
Flash Player 7
AdvancedLoaderPro.CompleteEffect:String
String. Name of the effect to be performed when an image is loaded into component.
myAdvancedLoaderPro.CompleteEffect = "Drop Down"; trace(myAdvancedLoaderPro.CompleteEffect);
Flash Player 7
AdvancedLoaderPro.content:Movieclip
Movieclip (read only). Returns a reference to the advancedLoaderPro's content allowing you to access it with script.
myAdvancedLoaderPro.content.play();
Flash Player 7
AdvancedLoaderPro.EffectSpeed:Number
Number. The speed of the Complete and Unload effects. The higher the number the higher the speed. Values are restricted to numbers between 0 and 100.
myAdvancedLoaderPro.EffectStrength = 10; trace(myAdvancedLoaderPro.EffectStrength);
Flash Player 7
AdvancedLoaderPro.EffectStrength:Number
Number. The strength of the Complete and Unload effects. Only applies to some effects. The higher the number the greater the strength. Values are restricted to numbers between 0 and 100.
myAdvancedLoaderPro.EffectStrength = 10; trace(myAdvancedLoaderPro.EffectStrength);
Flash Player 7
AdvancedLoaderPro.getCurrentImage()
Method. Returns a reference to the currently loaded content's source.
trace(myAdvancedLoaderPro.getCurrentImage());
Flash Player 7
AdvancedLoaderPro.getImageCaption(index:Number)
Method. Returns the specified image's caption.
trace(myAdvancedLoaderPro.getImageCaption(3));
Flash Player 7
AdvancedLoaderPro.getTotalImages()
Method. Returns the number of images in the slideshow.
trace(myAdvancedLoaderPro.getTotalImages());
Flash Player 7
AdvancedLoaderPro.gotoImage(index:Number)
Method. Moves slideshow to specified index.
myAdvancedLoaderPro.gotoImage(3);
Flash Player 7
AdvancedLoaderPro.linkURLs:Array
Array. List of links for the slideshow relating to the src array.
myAdvancedLoaderPro.linkURLs = ["http://www.flashloaded.com/", "http://www.flashloaded.com/", "http://www.fontsforflash.com"]; trace(myAdvancedLoaderPro.linkURLs);
Flash Player 7
AdvancedLoaderPro.load(src:String)
Method. Loads specified image into the component.
myAdvancedLoaderPro.load("myImage.jpg");
Flash Player 7
AdvancedLoaderPro.Mask:String
String. The linkage identifier of a movieclip in the library to be used to mask the component.
myAdvancedLoaderPro.Mask = "myMask"; trace(myAdvancedLoaderPro.Mask);
Flash Player 7
AdvancedLoaderPro.nextImage()
Method. Advances the slideshow one image forward.
myAdvancedLoaderPro.nextImage();
Flash Player 7
AdvancedLoaderPro.onComplete = function()
Function. Called when the loading of the current content is completed.
myAdvancedLoaderPro.onComplete = function()
{
trace("content loaded!");
}
Flash Player 7
AdvancedLoaderPro.onFailure = function()
Function. Called if the loading of the current content fails.
myAdvancedLoaderPro.onFailure = function()
{
trace("error!");
}
Flash Player 7
AdvancedLoaderPro.onProgress = function()
Function. Called everytime the loaded amount of the component's current content changes.
myAdvancedLoaderPro.onProgress = function(total:Number, loaded:Number, percent:Number)
{
progressToDisplay = loaded + " of " + total + " ( " + percent + " % )";
}
Flash Player 7
AdvancedLoaderPro.onUnloaded = function()
Function. Called when the unloading of the current content is completed.
myAdvancedLoaderPro.onUnloaded = function()
{
trace("content removed!");
}
Flash Player 7
AdvancedLoaderPro.overlapEffects:Boolean
Boolean. If set to true onComplete and onUnload Effects will play simultaneously, otherwise the onComplete Effect will not play until the onUnload Effect has finished.
myAdvancedLoaderPro.overlapEffects = true; trace(myAdvancedLoaderPro.overlapEffects);
Flash Player 7
AdvancedLoaderPro.percentLoaded:Number
Number (read only). Returns the amount of content loaded as a percentage.
trace(myAdvancedLoaderPro.percentLoaded);
Flash Player 7
AdvancedLoaderPro.PrelColor:Number
Number. Specifies the color of the preloader.
myAdvancedLoaderPro.PrelColor = 0xFF0099; trace(myAdvancedLoaderPro.PrelColor);
Flash Player 7
AdvancedLoaderPro.PrelTextColor:Number
Number. Specifies the color of the preloader text.
myAdvancedLoaderPro.PrelTextColor = 0xFF0099; trace(myAdvancedLoaderPro.PrelTextColor);
Flash Player 7
AdvancedLoaderPro.PrelWidth:Number
Number. Specifies the width of the preloader bar. The maximum value is the width of the component.
myAdvancedLoaderPro.PrelWidth = 100; trace(myAdvancedLoaderPro.PrelWidth);
Flash Player 7
AdvancedLoaderPro.previousImage()
Method. Advances the slideshow one image backwards.
myAdvancedLoaderPro.previousImage();
Flash Player 7
AdvancedLoaderPro.print()
Method. This method may be used to print the content of the component.
myAdvancedLoaderPro.print();
Flash Player 7
AdvancedLoaderPro.randomDisplay:Boolean
Boolean. If set to true the slideshow is displayed in a random order, otherwise the slideshow is displayed in the order specified.
myAdvancedLoaderPro.randomDisplay = true; trace(myAdvancedLoaderPro.randomDisplay);
Flash Player 7
AdvancedLoaderPro.ROverEffect:String
String. Specifies the effect to be performed on rollover.
myAdvancedLoaderPro.ROverEffect = "Eased"; trace(myAdvancedLoaderPro.ROverEffect);
Flash Player 7
AdvancedLoaderPro.ROverZoom:Number
Number. Specifies the value as a percentage to scale the image to on rollover.
myAdvancedLoaderPro.ROverZoom = 120; trace(myAdvancedLoaderPro.ROverZoom);
Flash Player 7
AdvancedLoaderPro.ScaleButton:Boolean
Boolean. If set to true the hitarea of the component will scale along with the image.
myAdvancedLoaderPro.ScaleButton = true; trace(myAdvancedLoaderPro.ScaleButton);
Flash Player 7
AdvancedLoaderPro.ScaleContent:String
String. Specifies the method that should be used to scale the loaded image to fit the area of the component.
myAdvancedLoaderPro.ScaleContent = "Scale to fit"; trace(myAdvancedLoaderPro.ScaleContent);
Flash Player 7
AdvancedLoaderPro.ShowPreloader:Boolean
Boolean. If true the preloader will be displayed when required, otherwise the preloader will never appear.
myAdvancedLoaderPro.ShowPreloader = true; trace(myAdvancedLoaderPro.ShowPreloader);
Flash Player 7
AdvancedLoaderPro.ShowPreloadText:Boolean
Boolean. If true the percentage of loading will be displayed in the preloader, otherwise only the preloader bar will be used.
myAdvancedLoaderPro.ShowPreloadText = true; trace(myAdvancedLoaderPro.ShowPreloadText);
Flash Player 7
AdvancedLoaderPro.slideShowTime:Number
Number. The number of seconds for the image to be displayed before moving to the next image.
myAdvancedLoaderPro.slideShowTime = 5; trace(myAdvancedLoaderPro.slideShowTime);
Flash Player 7
AdvancedLoaderPro.source:String
String. Returns a reference to the currently loaded content's source.
trace(myAdvancedLoaderPro.source);
Flash Player 7
myAdvancedLoaderPro.src:Array
Array. A list of images to be used for the slideshow. This list is ignored if using the autofeeder or XML options.
myAdvancedLoaderPro.src = ["image1.jpg", "image2.jpg", "image3.jpg"]; trace(myAdvancedLoaderPro.src);
Flash Player 7
AdvancedLoaderPro.target:String
String. The link target of the component specifying which window the link should be loaded into when the component is clicked.
myAdvancedLoaderPro.target = "_blank"; trace(myAdvancedLoaderPro.target);
Flash Player 7
AdvancedLoaderPro.UnloadEffect:String
String. Name of the effect to be performed when an image is unloaded.
myAdvancedLoaderPro.UnloadEffect = "Drop Down"; trace(myAdvancedLoaderPro.UnloadEffect);
Flash Player 7
AdvancedLoaderPro.XMLFile:String
String. Filename of the XML file to be used to create the slideshow. This value is ignored if using the autofeeder option.
myAdvancedLoaderPro.XMLFile = "slideshow.xml"; trace(myAdvancedLoaderPro.XMLFile);