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

📄 autofeeder.html

📁 基于actionscript3.0的flashLoading控件
💻 HTML
字号:
<!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=iso-8859-7">
<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">Using the Autofeeder</h1>
<p>&nbsp;</p>

<p class="normal">This tutorial will teach you how to make use of the autofeeder functionality of the advancedLoaderPro to dynamically create a slideshow from the contents of a folder on your server.</p>
<p>&nbsp;</p>



<p class="normal">1. Create a folder on your web space that you wish to store your images in.</p>
<p class="normal">Upload the images you wish to use as part of your slideshow into your new folder.</p>
<p>&nbsp;</p>

<p class="normal">2. Your download came with two autofeeder files. Upload one of these files to your webspace. If your server uses PHP use the autofeeder.php file and if your server uses ASP use the autofeeder.asp file. For the purposes of this tutorial your autofeeder file should be uploaded to the same directory that contains your folder (not inside your folder).</p>
<p>&nbsp;</p>

<p class="normal">3. Having installed the advancedLoaderPro using the <a href="http://www.adobe.com/exchange/em_download/" target="_blank">Macromedia Extension Manager</a>, open Flash and start a new file.</p>
<p>&nbsp;</p>

<p class="normal">4. Press Ctrl+F7 (Windows) or Cmnd+F7 (Mac) to open the components panel and drag a copy of advancedLoaderPro onto your stage.</p>
<p>&nbsp;</p>

<p class="normal">5. With the component still selected press Ctrl+F3 (Windows) or Cmnd+F3 (Mac) to open the properties panel and click the 'parameters' tab.</p>
<p>&nbsp;</p>

<p class="normal">6. Enter the name of and path to your autofeeder file in the 'Autofeeder file' parameter. For the purposes of this tutorial use 'autofeeder.php' (without the quotes).</p>
<p><img src="images/fig11.jpg" border="1" class="image"></p>
<p>&nbsp;</p>

<p class="normal">7. In the 'Autofeeder Folder' parameter, enter the name and path of the folder you want the component to load images from. The path should be relative to the location of the .html file that you'll embed your .swf in.</p>
<p><img src="images/fig12.jpg" border="1" class="image"></p>
<p>&nbsp;</p>

<p class="normal">8. Double-click next to the 'File Types' parameter and the 'Values' dialogue box will appear. This parameter is for specifying the types of file the autofeeder file should load. To add a new file type click the 'plus' sign and enter the file type you want to include. To remove a file type select the type you wish to remove and click the 'minus' sign. You should specify each file type you have uploaded to your folder.</p>
<p><img src="images/fig13.jpg" border="1" class="image"></p>
<p>&nbsp;</p>

<p class="normal">9. If you would like the autofeeder file to automatically generate a caption for your images choose your preferred format from the 'Caption Format' parameter. Unless the 'Caption Format' parameter is set to  'none' the autofeeder file will automatically generate the date the image was uploaded to the server as a caption. The caption will be generated in the order specified, 'd' represents the day, 'm' represents the month and 'y' represents the year.</p>

<p class="normal">If you've chosen to use the automatic caption generation then press 'T' to select the Text tool and draw a textfield on your stage. Press Ctrl+F3 (Windows) or Cmnd+F3 (Mac) to open the properties panel and enter an instance name for the textfield. For the purposes of this tutorial  name it 'captionText' (without the quotes).</p>
<p><img src="images/fig14.jpg" border="1" class="image"></p>

<p class="normal">Select the advancedLoaderPro component on the stage. Press Ctrl+F3 (Windows) or Cmnd+F3 (Mac) to open the properties panel, click the parameters tab and locate the 'Caption Textfield' paramter. Enter the instance name of the textfield you have just created (captionText).</p>
<p><img src="images/fig15.jpg" border="1" class="image"></p>
<p>&nbsp;</p>

<p class="normal">10. Press Ctrl+S (Windows) or Cmnd+S (Mac) to save your file.</p>
<p>&nbsp;</p>

<p class="normal">11. Publish your file and upload the .html and .swf files to your server. For the purposes of this tutorial you should upload the files to the same directory as your autofeeder file.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>
</html>

⌨️ 快捷键说明

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