⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reference.html

📁 基于actionscript3.0的flashLoading控件
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>AdvancedLoaderPro Userguide</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<link href="css/fcms.css" rel="stylesheet" type="text/css">
<link href="css/help_pc.css" rel="stylesheet" type="text/css">
</head>

<body>
<h1 class="title"><strong>ActionScript Reference</strong><br>
</h1>
<ul>


	<li><a href="#autoFeederFile">autoFeederFile</a></li>
	<li><a href="#autoFeederFileTypes">autoFeederFileTypes</a></li>
	<li><a href="#autoFeederFolder">autoFeederFolder</a></li>
	<li><a href="#bytesLoaded">bytesLoaded</a></li>
	<li><a href="#bytesTotal">bytesTotal</a></li>
	<li><a href="#captionDateFormat">captionDateFormat</a></li>
	<li><a href="#captions">captions</a></li>
	<li><a href="#captionTextfield">captionTextfield</a></li>
	<li><a href="#CompleteEffect">CompleteEffect</a></li>
	<li><a href="#content">content</a></li>
	<li><a href="#EffectSpeed">EffectSpeed</a></li>
	<li><a href="#EffectStrength">EffectStrength</a></li>
	<li><a href="#getCurrentImage">getCurrentImage</a></li>
	<li><a href="#getImageCaption">getImageCaption</a></li>
	<li><a href="#getTotalImages">getTotalImages</a></li>
	<li><a href="#gotoImage">gotoImage</a></li>
	<li><a href="#linkURLs">linkURLs</a></li>
	<li><a href="#load">load</a></li>
	<li><a href="#mask">mask</a></li>
	<li><a href="#Mask">Mask</a></li>
	<li><a href="#nextImage">nextImage</a></li>
	<li><a href="#onComplete">onComplete</a></li>
	<li><a href="#onFailure">onFailure</a></li>
	<li><a href="#onProgress">onProgress</a></li>
	<li><a href="#onUnloaded">onUnloaded</a></li>
	<li><a href="#overlapEffects">overlapEffects</a></li>
	<li><a href="#percentLoaded">percentLoaded</a></li>
	<li><a href="#PrelColor">PrelColor</a></li>
	<li><a href="#PrelTextColor">PrelTextColor</a></li>
	<li><a href="#PrelWidth">PrelWidth</a></li>
	<li><a href="#previousImage">previousImage</a></li>
	<li><a href="#print">print</a></li>
	<li><a href="#randomDisplay">randomDisplay</a></li>
	<li><a href="#ROverEffect">ROverEffect</a></li>
	<li><a href="#ROverZoom">ROverZoom</a></li>
	<li><a href="#ScaleButton">ScaleButton</a></li>
	<li><a href="#ScaleContent">ScaleContent</a></li>
	<li><a href="#ShowPreloader">ShowPreloader</a></li>
	<li><a href="#ShowPreloadText">ShowPreloadText</a></li>
	<li><a href="#slideShowTime">slideShowTime</a></li>
	<li><a href="#source">source</a></li>
	<li><a href="#src">src</a></li>
	<li><a href="#target">target</a></li>
	<li><a href="#UnloadEffect">UnloadEffect</a></li>
	<li><a href="#XMLFile">XMLFile</a></li>


</ul>
<p></p>
<p>&nbsp;</p>




<h1><a name="autoFeederFile" id="autoFeederFile"></a>AdvancedLoaderPro.autoFeederFile</h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.autoFeederFile:String</pre>
<h4>Description </h4>
<p> String. Filename of autofeeder file.</p>
<h4>Example </h4>
<pre>myAdvancedLoaderPro.autoFeederFile = "autofeeder.php";
trace(myAdvancedLoaderPro.autoFeederFile);</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="autoFeederFileTypes" id="autoFeederFileTypes"></a>AdvancedLoaderPro.autoFeederFileTypes </h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.autoFeederFileTypes:Array</pre>
<h4>Description </h4>
<p>Array. List of file types to be read by the autofeeder file.</p>
<h4>Example </h4>
<pre>myAdvancedLoaderPro.autoFeederFileTypes = ["jpg", "swf"];
trace(myAdvancedLoaderPro.autoFeederFileTypes);</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="autoFeederFolder" id="autoFeederFolder"></a>AdvancedLoaderPro.autoFeederFolder</h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.autoFeederFolder:String</pre>
<h4>Description </h4>
<p> String. The name of folder on the server the contents of which should be read by the autofeeder file.</p>
<h4>Example </h4>
<pre>myAdvancedLoaderPro.autoFeederFolder = "images/slideshow";
trace(myAdvancedLoaderPro.autoFeederFolder);</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="bytesLoaded" id="bytesLoaded"></a>AdvancedLoaderPro.bytesLoaded </h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.bytesLoaded:Number</pre>
<h4>Description </h4>
<p>Number (read only). Returns the number of bytes currently loaded of the component's current image.</p>
<h4>Example</h4>
<pre>trace(myAdvancedLoaderPro.bytesLoaded);</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="bytesTotal" id="bytesTotal"></a>AdvancedLoaderPro.bytesTotal</h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.bytesTotal:Number</pre>
<h4>Description </h4>
<p>Number (read only). Returns the total number of bytes of the image the component is currently loading.</p>
<h4>Example</h4>
<pre>trace(myAdvancedLoaderPro.bytesTotal);</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="captionDateFormat" id="captionDateFormat"></a>AdvancedLoaderPro.captionDateFormat </h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.captionDateFormat:String</pre>
<h4>Description </h4>
<p>String. Determines the format of the date automatically generated by the autofeeder file.</p>
<h4>Example </h4>
<pre>myAdvancedLoaderPro.captionDateFormat = "y/m/d";
trace(myAdvancedLoaderPro.captionDateFormat);</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="captions" id="captions"></a>AdvancedLoaderPro.captions</h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.captions:Array</pre>
<h4>Description </h4>
<p>Array. List of captions for slideshow relating to the src array.</p>
<h4>Example </h4>
<pre>myAdvancedLoaderPro.captions = ["This is image 1", "This is image 2", "This is image 3"];
trace(myAdvancedLoaderPro.captions);</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="captionTextfield" id="captionTextfield"></a>AdvancedLoaderPro.captionTextfield</h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.captionTextfield:String</pre>
<h4>Description </h4>
<p>String. The instance name of the textfield that should display the current image's caption.</p>
<h4>Example</h4>
<pre>myAdvancedLoaderPro.captionTextfield = "myTextField";
trace(AdvancedLoaderPro.captionTextfield);</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="CompleteEffect" id="CompleteEffect"></a>AdvancedLoaderPro.CompleteEffect</h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.CompleteEffect:String</pre>
<h4>Description </h4>
<p>String. Name of the effect to be performed when an image is loaded into component.</p>
<h4>Example </h4>
<pre>myAdvancedLoaderPro.CompleteEffect = "Drop Down";
trace(myAdvancedLoaderPro.CompleteEffect);</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="content" id="content"></a>AdvancedLoaderPro.content</h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.content:Movieclip</pre>
<h4>Description </h4>
<p>Movieclip (read only). Returns a reference to the advancedLoaderPro's content allowing you to access it with script.</p>
<h4>Example</h4>
<pre>myAdvancedLoaderPro.content.play();</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="EffectSpeed" id="EffectSpeed"></a>AdvancedLoaderPro.EffectSpeed</h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.EffectSpeed:Number</pre>
<h4>Description </h4>
<p>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.</p>
<h4>Example </h4>
<pre>myAdvancedLoaderPro.EffectStrength = 10;
trace(myAdvancedLoaderPro.EffectStrength);</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="EffectStrength" id="EffectStrength"></a>AdvancedLoaderPro.EffectStrength</h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.EffectStrength:Number</pre>
<h4>Description </h4>
<p>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.</p>
<h4>Example </h4>
<pre>myAdvancedLoaderPro.EffectStrength = 10;
trace(myAdvancedLoaderPro.EffectStrength);</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="getCurrentImage" id="getCurrentImage"></a>AdvancedLoaderPro.getCurrentImage </h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.getCurrentImage()</pre>
<h4>Description </h4>
<p>Method. Returns a reference to the currently loaded content's source.</p>
<h4>Example</h4>
<pre>trace(myAdvancedLoaderPro.getCurrentImage());</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="getImageCaption" id="getImageCaption"></a>AdvancedLoaderPro.getImageCaption </h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.getImageCaption()</pre>
<h4>Description </h4>
<p>Method. Returns the currently loaded content's caption.</p>
<h4>Example</h4>
<pre>trace(myAdvancedLoaderPro.getImageCaption());</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="getTotalImages" id="getTotalImages"></a>AdvancedLoaderPro.getTotalImages </h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.getTotalImages()</pre>
<h4>Description </h4>
<p>Method. Returns the number of images in the slideshow.</p>
<h4>Example</h4>
<pre>trace(myAdvancedLoaderPro.getTotalImages());</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="gotoImage" id="gotoImage"></a>AdvancedLoaderPro.gotoImage</h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.gotoImage(index:Number)</pre>
<h4>Description </h4>
<p>Method. Moves slideshow to specified index.</p>
<h4>Example</h4>
<pre>myAdvancedLoaderPro.gotoImage(3);</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="linkURLs" id="linkURLs"></a>AdvancedLoaderPro.linkURLs</h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.linkURLs:Array</pre>
<h4>Description </h4>
<p>Array. List of links for the slideshow relating to the src array.</p>
<h4>Example </h4>
<pre>myAdvancedLoaderPro.linkURLs = ["http://www.flashloaded.com/", "http://www.flashloaded.com/", "http://www.fontsforflash.com"];
trace(myAdvancedLoaderPro.linkURLs);</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="load" id="load"></a>AdvancedLoaderPro.load </h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.load(src:String)</pre>
<h4>Description </h4>
<p>Method. Loads specified image into the component.</p>
<h4>Example</h4>
<pre>myAdvancedLoaderPro.load("myImage.jpg");</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="Mask" id="Mask"></a>AdvancedLoaderPro.Mask</h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.Mask:String</pre>
<h4>Description </h4>
<p>String. The linkage identifier of a movieclip in the library to be used to mask the component.</p>
<h4>Example</h4>
<pre>myAdvancedLoaderPro.Mask = "myMask";
trace(myAdvancedLoaderPro.Mask);</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="nextImage" id="nextImage"></a>AdvancedLoaderPro.nextImage </h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.nextImage()</pre>
<h4>Description </h4>
<p>Method. Advances the slideshow one image forward.</p>
<h4>Example</h4>
<pre>myAdvancedLoaderPro.nextImage();</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>



<h1><a name="onComplete" id="onComplete"></a>AdvancedLoaderPro.onComplete </h1>
<h4>Availability </h4>
<p>Flash Player 7 </p>
<h4>Usage </h4>
<pre>AdvancedLoaderPro.onComplete = function()</pre>
<h4>Description </h4>
<p>Function. Called when the loading of the current content is completed.</p>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -