<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>宋欢的博客 - </title><link>category/285149.aspx</link><description /><dc:language>zh-CN</dc:language><lastUpdateTime>Tue, 10 Jun 2008 15:59:00 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>songhuanren</dc:creator><title>jtextarea 全文搜索 并 着色 , 并显示行数</title><link>http://blog.csdn.net/songhuanren/archive/2008/06/10/2531875.aspx</link><pubDate>Tue, 10 Jun 2008 15:58:00 GMT</pubDate><guid>http://blog.csdn.net/songhuanren/archive/2008/06/10/2531875.aspx</guid><wfw:comment>comments/2531875.aspx</wfw:comment><comments>http://blog.csdn.net/songhuanren/archive/2008/06/10/2531875.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>comments/commentRss/2531875.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2531875</trackback:ping><description>写了个flashDebug器,通过localconnection来显示debug的信息,里面自定义了一个JTextArea组件,支持全文搜索,可以着色,可以显示行数&lt;img src ="aggbug/2531875.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>songhuanren</dc:creator><title>Haxe学习(1)</title><link>http://blog.csdn.net/songhuanren/archive/2008/06/05/2514852.aspx</link><pubDate>Thu, 05 Jun 2008 18:50:00 GMT</pubDate><guid>http://blog.csdn.net/songhuanren/archive/2008/06/05/2514852.aspx</guid><wfw:comment>comments/2514852.aspx</wfw:comment><comments>http://blog.csdn.net/songhuanren/archive/2008/06/05/2514852.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>comments/commentRss/2514852.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2514852</trackback:ping><description>Haxe(好东西啊),主要是把程序放在一起开发,比如你要开发flash+php的应用,就是前端是 flash,后台是php,那你就不用两个开发环境,完全可以用haxe全包,就是用haxe开发flash(支持flash9),用haxe开发php,haxe可以生成swf文件,可以生成php,还可以生成javascript,  哈哈  ,好吧....

安装:

1,从官网(http://haxe.org/?lang=cn) 下载haxe,下载之前先安装一下Neko,然后把haxe和neko放在一起,点击haxe安装,好了后,会在你的系统盘的program files 下产生一个Motion-Twin目录,,

2,来创建一个helloworld实例,

Test.hx:

class Test{
 static function main(){
  trace("haxe test");
 }
}
compile.hxml

-swf test.swf
-main Test

编译的话只要双击compile.hxml就可以了,如果成功的话,就会生成一&lt;img src ="aggbug/2514852.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>songhuanren</dc:creator><title> 9-slice bitmap class </title><link>http://blog.csdn.net/songhuanren/archive/2008/06/02/2504048.aspx</link><pubDate>Mon, 02 Jun 2008 17:19:00 GMT</pubDate><guid>http://blog.csdn.net/songhuanren/archive/2008/06/02/2504048.aspx</guid><wfw:comment>comments/2504048.aspx</wfw:comment><comments>http://blog.csdn.net/songhuanren/archive/2008/06/02/2504048.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>comments/commentRss/2504048.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2504048</trackback:ping><description>flash里的9切格是只能对于flash里的元素来说的,对于从外面导入的图片(比如PNG,JPG),是不支持的,

但是这个可以,  其实原理还是它把图片转成了bitmap,然后再9切格的. 

详情

 
&lt;img src ="aggbug/2504048.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>songhuanren</dc:creator><title>an website about the math of flash , cool ...</title><link>http://blog.csdn.net/songhuanren/archive/2008/06/02/2503784.aspx</link><pubDate>Mon, 02 Jun 2008 16:06:00 GMT</pubDate><guid>http://blog.csdn.net/songhuanren/archive/2008/06/02/2503784.aspx</guid><wfw:comment>comments/2503784.aspx</wfw:comment><comments>http://blog.csdn.net/songhuanren/archive/2008/06/02/2503784.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>comments/commentRss/2503784.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2503784</trackback:ping><description>an website about the math of flash , about the effect of flash .....

this is demo of the website ,cool  

 
&lt;img src ="aggbug/2503784.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>songhuanren</dc:creator><title>P2P in Flash Player 10 </title><link>http://blog.csdn.net/songhuanren/archive/2008/05/28/2490807.aspx</link><pubDate>Wed, 28 May 2008 16:00:00 GMT</pubDate><guid>http://blog.csdn.net/songhuanren/archive/2008/05/28/2490807.aspx</guid><wfw:comment>comments/2490807.aspx</wfw:comment><comments>http://blog.csdn.net/songhuanren/archive/2008/05/28/2490807.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>comments/commentRss/2490807.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2490807</trackback:ping><description>据说是player10中将支持p2p , 当我看到这个消息,是非常的激动的,当我看完下面的内容,觉的可能还要等一段时间了,我的理解是,P2P在player10中直接通过client端传输数据,还需要一个server来解析client端的IP,(这里就有一个问题,局域网的client,player是否能做到穿透? ) , 这里所说的server ,我想最有希望的就是FMS了,FMS3刚出来,但它不支持P2P,那就应该是要等到FMS4出来了,我想那时应该就会支持p2p了,如果真能做到P2P,那FMS也可以得到大规模的使用,毕竟现在就单单靠fms的集群来缓解带宽的压力还是有点吃紧,我想这也是adobe希望看到的.

下面是引用(url:http://justin.everett-church.com/index.php/2008/05/23/astrop2p/)

There has been a lot of great excitement around RTMFP (Real Time Media Flow Protocol), especially because of th&lt;img src ="aggbug/2490807.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>songhuanren</dc:creator><title>目前正在使用的框架和一些开源的项目</title><link>http://blog.csdn.net/songhuanren/archive/2008/05/26/2481124.aspx</link><pubDate>Mon, 26 May 2008 09:12:00 GMT</pubDate><guid>http://blog.csdn.net/songhuanren/archive/2008/05/26/2481124.aspx</guid><wfw:comment>comments/2481124.aspx</wfw:comment><comments>http://blog.csdn.net/songhuanren/archive/2008/05/26/2481124.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>comments/commentRss/2481124.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2481124</trackback:ping><description>1,TweenLite class : 应该可以说是Tween类的精装版,小巧,但很实用,

2,cairngorm 框架 : 不用多说了.adobe官方推荐的一个MVC框架,确实非常好,在开发中带来了很多的便利.

3,Aswing UI : 这个真的是非常好的一套组件,也应该是有很长的时间了,从最早的as2就有了.后来升级到as3,我个人觉的是比flash v3组件好,但是唯一的不好是布局太麻烦了,我在开发中,布局的时候总是占用了不少时间.

4,DistortionEffects : 是一个flex的变形特效组件,里面很多的底层代码都是PV3D的内容.

5,Common-SJD-Lib 组件库 : 也是flex的, 里面有很多很实用的组件,比如AdvanceTabNavigator,ClearTextInput,HTMLToolTip ,ResizeWindow,TemplateInput 相信你们一看名字就应该知道这些组件的作用吧.  url:http://www.flex-flex.net/blog/

6,ColorMatrix class : 一个调&lt;img src ="aggbug/2481124.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>songhuanren</dc:creator><title>as3 中的 dynamic Class</title><link>http://blog.csdn.net/songhuanren/archive/2008/05/16/2450771.aspx</link><pubDate>Fri, 16 May 2008 10:38:00 GMT</pubDate><guid>http://blog.csdn.net/songhuanren/archive/2008/05/16/2450771.aspx</guid><wfw:comment>comments/2450771.aspx</wfw:comment><comments>http://blog.csdn.net/songhuanren/archive/2008/05/16/2450771.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>comments/commentRss/2450771.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2450771</trackback:ping><description>as3中只有dynamic class 中的dynamic definitions才可以被枚举（就是for in ），

dynamic class DynamicClass 
{ 
  public var variable:String = "value";
  public function method():void {}
  
  public function DynamicClass()
  {
   
  }
}
但是上面的这个类是不能被枚举的,只有是被动态添加的属性才能被枚举,

dynamic class DynamicClass 
{ 
  public var variable:String = "value";
  public function method():void {}
  
  public function DynamicClass()
  {
   this.var1 = '123';
  }
}
上面的类中var1可以被枚举出来,还有可以用 setPropertyIsEnumerable方法，可&lt;img src ="aggbug/2450771.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>songhuanren</dc:creator><title>AIR在flash和dreamweaver中的应用，</title><link>http://blog.csdn.net/songhuanren/archive/2008/05/15/2448867.aspx</link><pubDate>Thu, 15 May 2008 16:40:00 GMT</pubDate><guid>http://blog.csdn.net/songhuanren/archive/2008/05/15/2448867.aspx</guid><wfw:comment>comments/2448867.aspx</wfw:comment><comments>http://blog.csdn.net/songhuanren/archive/2008/05/15/2448867.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>comments/commentRss/2448867.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2448867</trackback:ping><description>
1,AIR在flash中的应用
一定要先安装一个flash的AIR插件 

,http://labs.adobe.com/wiki/index.php/AIR:Flash_CS3_Professional_Update)；
然后就是创建一个fla文件,在publish settings里把version改成adobe AIR,然后就在fla创作了,最后只要在

commands下的application and install setting里设置一下,然后在commands下的create air file,如果没有特别

的需要,在setting里就按默认的吧,这样就能创建AIR了,也会自动帮你生成app.xml文件(配置文件),傻瓜型的...

2,AIR在dreamweaver里的应用
先要安装AIR的sdk ; 自己去官方网站搜一下吧,然后要知道ADL这个东西,其实是一个AIR的调试器,它可以让你的

AIR运行,而不用先安装, ADL当然可以trace和反映一些运行时的错误,但不知道断点.而且ADL必须和AIRSDK是在同

一般目录下的.&lt;img src ="aggbug/2448867.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>songhuanren</dc:creator><title>做了个扑克牌demo(练练算法)</title><link>http://blog.csdn.net/songhuanren/archive/2008/05/15/2448204.aspx</link><pubDate>Thu, 15 May 2008 14:23:00 GMT</pubDate><guid>http://blog.csdn.net/songhuanren/archive/2008/05/15/2448204.aspx</guid><wfw:comment>comments/2448204.aspx</wfw:comment><comments>http://blog.csdn.net/songhuanren/archive/2008/05/15/2448204.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>comments/commentRss/2448204.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2448204</trackback:ping><description>里面的我只是在牌型上来判断谁大谁小,因为我不了解当牌型相同时,比如都是对子的时候,而且对子的大小也时一样的时候,是怎么判断谁大谁小的,...........有人知道的话,可以告诉我...,我设置的牌型是["散牌", "对子", "双对", "三条", "顺子", "同花", "葫芦", "铁支", "同花顺"];&lt;img src ="aggbug/2448204.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>songhuanren</dc:creator><title>(demo) : jtable的自定义cell </title><link>http://blog.csdn.net/songhuanren/archive/2008/05/12/2436773.aspx</link><pubDate>Mon, 12 May 2008 14:23:00 GMT</pubDate><guid>http://blog.csdn.net/songhuanren/archive/2008/05/12/2436773.aspx</guid><wfw:comment>comments/2436773.aspx</wfw:comment><comments>http://blog.csdn.net/songhuanren/archive/2008/05/12/2436773.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>comments/commentRss/2436773.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2436773</trackback:ping><description>an demo of test JTable ,,&lt;img src ="aggbug/2436773.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>songhuanren</dc:creator><title>swf获取html参数的问题(终于完全解决) (版本9,0,124,)</title><link>http://blog.csdn.net/songhuanren/archive/2008/05/08/2417719.aspx</link><pubDate>Thu, 08 May 2008 17:36:00 GMT</pubDate><guid>http://blog.csdn.net/songhuanren/archive/2008/05/08/2417719.aspx</guid><wfw:comment>comments/2417719.aspx</wfw:comment><comments>http://blog.csdn.net/songhuanren/archive/2008/05/08/2417719.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>comments/commentRss/2417719.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2417719</trackback:ping><description>我的flash版本是9,0,124, ,以前as2的时候，只要在，这样在后面直接加参数就可以了，可到了as3,好像就不行了，我看了网上的说是，

，但结果，其实这样也不行，最后，是



是在这里面加入'FlashVars','name=1231231231',，就可以了，但别的flash版本我就没测过了

&lt;img src ="aggbug/2417719.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>songhuanren</dc:creator><title>推荐Flash DLL</title><link>http://blog.csdn.net/songhuanren/archive/2008/05/08/2415422.aspx</link><pubDate>Thu, 08 May 2008 12:02:00 GMT</pubDate><guid>http://blog.csdn.net/songhuanren/archive/2008/05/08/2415422.aspx</guid><wfw:comment>comments/2415422.aspx</wfw:comment><comments>http://blog.csdn.net/songhuanren/archive/2008/05/08/2415422.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>comments/commentRss/2415422.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2415422</trackback:ping><description>如果不熟悉这个,可以看看这个http://www.flashdll.org/ 

我也做了一个 aswigDLL :  http://www.sandy1219.cn/SandyAsWingDLL.swf ; 

OrangeLAFDLL : http://www.sandy1219.cn/OrangeLAFDLL.swf 

主要是在里面: 

在component类里加了item属性( * 类型), 在AWEvent类里加了data属性( *类型 ),在AsWingManager.callLater(fun,timer,args),中加入了args参数,表示fun的参数

demo : http://www.sandy1219.cn/aswing/dll/flashdlltest.html

 
&lt;img src ="aggbug/2415422.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>songhuanren</dc:creator><title>超强的不规则碰撞检测</title><link>http://blog.csdn.net/songhuanren/archive/2008/05/07/2409884.aspx</link><pubDate>Wed, 07 May 2008 15:05:00 GMT</pubDate><guid>http://blog.csdn.net/songhuanren/archive/2008/05/07/2409884.aspx</guid><wfw:comment>comments/2409884.aspx</wfw:comment><comments>http://blog.csdn.net/songhuanren/archive/2008/05/07/2409884.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>comments/commentRss/2409884.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2409884</trackback:ping><description>很牛,很强大 

我做了一个例子 : http://www.sandy1219.cn/flash/hitTest/Testhi.html .

类下载 : http://www.sandy1219.cn/flash/hitTest/HitTest.as 

&lt;img src ="aggbug/2409884.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>songhuanren</dc:creator><title>反其道为之，as3加载flex的swf </title><link>http://blog.csdn.net/songhuanren/archive/2008/04/29/2343666.aspx</link><pubDate>Tue, 29 Apr 2008 17:50:00 GMT</pubDate><guid>http://blog.csdn.net/songhuanren/archive/2008/04/29/2343666.aspx</guid><wfw:comment>comments/2343666.aspx</wfw:comment><comments>http://blog.csdn.net/songhuanren/archive/2008/04/29/2343666.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>comments/commentRss/2343666.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2343666</trackback:ping><description>一般都是flex来加载as3的swf,可由于项目的需要，偏偏要反一下，可还是可行的。通过flex里的systemManager,其实它是movieClip的子类，大家应该想到了吧，在as3中用loader加载flex的swf后，loader.content其实就是flex的systemmanager,而且systemmanager有一个属性application就是flex的application,你可以直接调flex里的函数，哈哈。可就是我想for each in来把systemManager下的东西都打印出来，可好像不行..

view url:  http://www.sandy1219.cn/flex/testConnFlexandAS/flash.html 

download url: http://www.sandy1219.cn/flex/testConnFlexandAS/testConnFlexandAS.rar 

 

 
&lt;img src ="aggbug/2343666.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>songhuanren</dc:creator><title>Boostworthy Animation System (as 缓动特效)</title><link>http://blog.csdn.net/songhuanren/archive/2007/10/25/1843418.aspx</link><pubDate>Thu, 25 Oct 2007 15:26:00 GMT</pubDate><guid>http://blog.csdn.net/songhuanren/archive/2007/10/25/1843418.aspx</guid><wfw:comment>comments/1843418.aspx</wfw:comment><comments>http://blog.csdn.net/songhuanren/archive/2007/10/25/1843418.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>comments/commentRss/1843418.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1843418</trackback:ping><description>Boostworthy Animation System (as 缓动特效) 

一套as3写的缓动特效.但好象里面有些类在flex里不起作用.还要再研究一下.

还是很不错的. 下面是一个 test ,里面的就是用path做的一个测试,当鼠标按下的时候,那个方块就会沿着这个圆圈转动和移动,要看清楚哦,方块在移动的时候也会转动方向的.

path类里内容比较少,然后我就在里面加了个drawCircle

/**
   * draw circle
   */ 
  public function drawCircle(_w:int ,_h:int):void 
  {
   moveTo(_w,0);
   for (var r:Number=Math.PI *2; r&gt;=0 ; r-=Math.PI/18 ) 
   {
      curveTo( _w*Math.cos (r+Math.PI /36) , _h*Math.sin (r+Math.PI /36),_w*Math.cos(r),_h*Math.sin (r));
   }
  }
&lt;img src ="aggbug/1843418.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>