<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
  <channel>
    <title><![CDATA[Flash 培训]]></title> 
    <link>http://sxl001.07dns.com/</link> 
    <description><![CDATA[Flash 基础 进阶 培训]]></description> 
    <language>en</language> 
    <copyright><![CDATA[Copyright 2008, Flash 培训]]></copyright> 
    <webMaster><![CDATA[sxl042_001@163.com (Admin)]]></webMaster> 
    <generator>LBS v2.0.313</generator> 
    <pubDate>Wed, 20 Aug 2008 10:24:00 +0800</pubDate> 
    <ttl>60</ttl>
  
    <item>
      <title><![CDATA[怎样随机显示文字]]></title> 
      <link><![CDATA[http://sxl001.07dns.com/article.asp?id=4]]></link> 
      <category><![CDATA[本站公告]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Thu, 14 Aug 2008 11:50:46 +0800</pubDate> 
      <description><![CDATA[问题：<br />随即显示10个数字我知道，新建一400px*300px的flash文档，背景为黑色。按CTRL+F8建一MC，在此MC中建一动态文本，变量名为num，在其帧上加上AS，num=random(10); 这是随机显示10个数字，怎么样才能随机显示10个文字？大家教教我不胜感激！<br /><br />iswaraj解答：<br />var t:Array = Array(&quot;一&quot;, &quot;二&quot;, &quot;三&quot;, &quot;四&quot;, &quot;五&quot;, &quot;六&quot;, &quot;七&quot;, &quot;八&quot;, &quot;九&quot;, &quot;十&quot;)<br />var n:Number=Math.floor(Math.random() *t.length)<br />trace(t[n])<br /><br />解释：<br />var t:Array = Array(&quot;一&quot;, &quot;二&quot;, &quot;三&quot;, &quot;四&quot;, &quot;五&quot;, &quot;六&quot;, &quot;七&quot;, &quot;八&quot;, &quot;九&quot;, &quot;十&quot;)<br />//定义了一个t数组  里面有&quot;一&quot;至&quot;十&quot;一共10个汉字 当然你也可以更换你想要的其他汉字 字的多少也可以由自己来决定。<br />]]></description>
      <wfw:commentRss><![CDATA[http://sxl001.07dns.com/feed.asp?q=comment&id=4]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Flash特效制作常用的源代码大放送]]></title> 
      <link><![CDATA[http://sxl001.07dns.com/article.asp?id=3]]></link> 
      <category><![CDATA[本站公告]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Thu, 14 Aug 2008 11:47:32 +0800</pubDate> 
      <description><![CDATA[对象数组<br /><br />比如要构建一个有很多属性的数组，简单的可以这样做:<br /><br />以下是引用片段：<br /><br />vara:Array=newArray(); <br /><br />for(vari=0;i&lt;10;i++){ <br /><br />a[i]=newObject(); <br /><br />a[i].x=10; <br /><br />a[i].y=10*i; <br /><br />a[i].name=&quot;---&quot;; <br /><br />a[i].id=i; <br /><br />//随便你给什么属性啊。 <br /><br />} <br /><br />////先用局部变量存储对象会更好一点。 <br /><br />vara=newArray() <br /><br />for(vari=0;i&lt;10;i++){ <br /><br />varta=newObject(); <br /><br />ta.x=10; <br /><br />ta.y=10; <br /><br />ta.name=&quot;n&quot;+i; <br /><br />a.push(ta); <br /><br />} <br /><br />////或者更简便一点的方法: <br /><br />vara=newArray() <br /><br />for(vari=0;i&lt;10;i++){ <br />]]></description>
      <wfw:commentRss><![CDATA[http://sxl001.07dns.com/feed.asp?q=comment&id=3]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[FLASH制作五子棋教程连载1_0]]></title> 
      <link><![CDATA[http://sxl001.07dns.com/article.asp?id=2]]></link> 
      <category><![CDATA[本站公告]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Tue, 15 Jul 2008 22:40:04 +0800</pubDate> 
      <description><![CDATA[界面:<br /><div style="width: 100%;overflow-x : auto;"><a href="http://sxl001.07dns.com/uploads/200807/15_225950_01.jpg" target="_blank"><img src="http://sxl001.07dns.com/uploads/200807/15_225950_01.jpg" alt="http://sxl001.07dns.com/uploads/200807/15_225950_01.jpg" /></a></div>一.素材准备.<br />1.画棋盘,制作按钮,制作黑白棋子,制作公左右两边的公告栏等.<br /><a href="http://space.flash8.net/bbs/attachment.php?aid=347772" title="http://space.flash8.net/bbs/attachment.php?aid=347772" target="_blank">http://space.flash8.net/bbs/attachment.php?aid=347772</a><br /><br />2.作品初步完成.五子棋算法十分复杂,这个只是初级版.下载后播放(不可以网页上播放)<br /><a href="http://sxl001.07dns.com/games/wuziqi.html" title="http://sxl001.07dns.com/games/wuziqi.html" target="_blank">http://sxl001.07dns.com/games/wuziqi.html</a>]]></description>
      <wfw:commentRss><![CDATA[http://sxl001.07dns.com/feed.asp?q=comment&id=2]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[【网站简介】]]></title> 
      <link><![CDATA[http://sxl001.07dns.com/article.asp?id=1]]></link> 
      <category><![CDATA[本站公告]]></category> 
      <author><![CDATA[Admin <null@null.com>]]></author> 
      <pubDate>Wed, 07 May 2008 14:23:46 +0800</pubDate> 
      <description><![CDATA[<span style="font-size:14pt">【网站简介】工作QQ：770837993   <br /><span style="color:Red">特别说明:此期人员已满,不再加入,谢谢合作!</span></span>]]></description>
      <wfw:commentRss><![CDATA[http://sxl001.07dns.com/feed.asp?q=comment&id=1]]></wfw:commentRss>
    </item>
      
  </channel>
</rss>
