﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><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>博客园-sban .net blog</title><link>http://www.cnblogs.com/sban/</link><description>focusing on flex/flash &amp; .net</description><language>zh-cn</language><lastBuildDate>Thu, 28 Aug 2008 23:38:46 GMT</lastBuildDate><pubDate>Thu, 28 Aug 2008 23:38:46 GMT</pubDate><ttl>60</ttl><item><title>sban : flex unittest 的使用</title><link>http://www.cnblogs.com/sban/archive/2008/08/26/flex-unittest.html</link><dc:creator>sban</dc:creator><author>sban</author><pubDate>Tue, 26 Aug 2008 02:30:00 GMT</pubDate><guid>http://www.cnblogs.com/sban/archive/2008/08/26/flex-unittest.html</guid><wfw:comment>http://www.cnblogs.com/sban/comments/1276450.html</wfw:comment><comments>http://www.cnblogs.com/sban/archive/2008/08/26/flex-unittest.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/sban/comments/commentRss/1276450.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/sban/services/trackbacks/1276450.html</trackback:ping><description><![CDATA[<p>本文主要介绍unittest在flex project中测试应用，包括异步调用测试。</p>
<p>在这里下载<a href="http://download.macromedia.com/pub/opensource/flexunit/flexunit0_9.zip">unittest0.9</a>。包括两部分，swc文件与doc文档。文档中没有示例。</p>
<p>在<a href="http://blog.sban.com.cn/flex/unittest/Default.html">这里</a>查看unittest测试示例。在<a href="http://blog.sban.com.cn/flex/unittest/srcview/index.html">这里</a>在线查看源码。在<a href="http://blog.sban.com.cn/flex/unittest/srcview/flexunit09.zip">这里</a>下载源码。</p>
<p>用unittest测试flex应用，主要有如下几步：<br />
一、下载unittest，链接见上。添加flex project对unittest.swc的引用。<br />
二、建立一个测试主页，类型为Application。这一页里必须包括一个flexunit.flexui.TestRunnerBase，它用于显示 测试结果。显然可以继承它，自定义外观。但无此必要。可以以模块为单位，每一个模块或每一个功能建立一个这样的测试页面。<br />
三、针对不同类或方法，写测试程序。一般测试类单独成包。不要在原类中写返回TestCase或TestSunit的静态方法。</p>
<p>unittest异步测试用到addAsync函数，该函数是对原event handler的封装。unittest以此实现异步测试。</p>
<p><a href="http://blog.sban.com.cn/">sban</a> 2008年8月26于北京<br />
原文链接：<a href="http://blog.sban.com.cn/2008/08/26/flex-unittest.html">http://blog.sban.com.cn/2008/08/26/flex-unittest.html</a></p><img src ="http://www.cnblogs.com/sban/aggbug/1276450.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41943/" target="_blank">[新闻]轮回－新浪推出Facebook模式的SNS</a>]]></description></item><item><title>sban studio v0.1 release</title><link>http://www.cnblogs.com/sban/archive/2008/08/04/1260513.html</link><dc:creator>sban</dc:creator><author>sban</author><pubDate>Mon, 04 Aug 2008 15:27:00 GMT</pubDate><guid>http://www.cnblogs.com/sban/archive/2008/08/04/1260513.html</guid><wfw:comment>http://www.cnblogs.com/sban/comments/1260513.html</wfw:comment><comments>http://www.cnblogs.com/sban/archive/2008/08/04/1260513.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/sban/comments/commentRss/1260513.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/sban/services/trackbacks/1260513.html</trackback:ping><description><![CDATA[摘要: sban工作室上线，链接：http://www.sban.com.cn/。 &nbsp;&nbsp;<a href='http://www.cnblogs.com/sban/archive/2008/08/04/1260513.html'>阅读全文</a><img src ="http://www.cnblogs.com/sban/aggbug/1260513.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41940/" target="_blank">[新闻]惠普139亿美元完成对EDS的收购</a>]]></description></item><item><title>FlexComponentKit更新及如何用它在Flash CS3中为Flex Builder 3创建容器</title><link>http://www.cnblogs.com/sban/archive/2008/04/07/about-flexcomponentkit-update-and-how-create-container-in-flash-cs3.html</link><dc:creator>sban</dc:creator><author>sban</author><pubDate>Mon, 07 Apr 2008 11:11:00 GMT</pubDate><guid>http://www.cnblogs.com/sban/archive/2008/04/07/about-flexcomponentkit-update-and-how-create-container-in-flash-cs3.html</guid><wfw:comment>http://www.cnblogs.com/sban/comments/1140864.html</wfw:comment><comments>http://www.cnblogs.com/sban/archive/2008/04/07/about-flexcomponentkit-update-and-how-create-container-in-flash-cs3.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/sban/comments/commentRss/1140864.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/sban/services/trackbacks/1140864.html</trackback:ping><description><![CDATA[摘要: Adobe官方对FlexComponentKit已经更新，这次更新，加入了对在Flash CS3中为Flex创建容器的支持。&nbsp;&nbsp;<a href='http://www.cnblogs.com/sban/archive/2008/04/07/about-flexcomponentkit-update-and-how-create-container-in-flash-cs3.html'>阅读全文</a><img src ="http://www.cnblogs.com/sban/aggbug/1140864.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41939/" target="_blank">[新闻]搜狗五笔输入法发布</a>]]></description></item><item><title>.net framework 3.5的灵异事件</title><link>http://www.cnblogs.com/sban/archive/2008/04/02/dotnet-framework-35-cannot-copy-why.html</link><dc:creator>sban</dc:creator><author>sban</author><pubDate>Wed, 02 Apr 2008 09:30:00 GMT</pubDate><guid>http://www.cnblogs.com/sban/archive/2008/04/02/dotnet-framework-35-cannot-copy-why.html</guid><wfw:comment>http://www.cnblogs.com/sban/comments/1134924.html</wfw:comment><comments>http://www.cnblogs.com/sban/archive/2008/04/02/dotnet-framework-35-cannot-copy-why.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.cnblogs.com/sban/comments/commentRss/1134924.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/sban/services/trackbacks/1134924.html</trackback:ping><description><![CDATA[摘要: 不能拷贝，网络立断。谁是罪魁祸首？ 怎么也不能相信竟与.net framework 3.5有关。&nbsp;&nbsp;<a href='http://www.cnblogs.com/sban/archive/2008/04/02/dotnet-framework-35-cannot-copy-why.html'>阅读全文</a><img src ="http://www.cnblogs.com/sban/aggbug/1134924.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41938/" target="_blank">[新闻]新学年开始 大学生适用的十大互联网应用</a>]]></description></item><item><title>果冻特效弹出窗口</title><link>http://www.cnblogs.com/sban/archive/2008/04/01/jelly-effect-alert-window.html</link><dc:creator>sban</dc:creator><author>sban</author><pubDate>Tue, 01 Apr 2008 11:02:00 GMT</pubDate><guid>http://www.cnblogs.com/sban/archive/2008/04/01/jelly-effect-alert-window.html</guid><wfw:comment>http://www.cnblogs.com/sban/comments/1133337.html</wfw:comment><comments>http://www.cnblogs.com/sban/archive/2008/04/01/jelly-effect-alert-window.html#Feedback</comments><slash:comments>27</slash:comments><wfw:commentRss>http://www.cnblogs.com/sban/comments/commentRss/1133337.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/sban/services/trackbacks/1133337.html</trackback:ping><description><![CDATA[摘要: 在Mac，ubuntu中可以找到它的影子，vista中不知有没有。原理是利用欠阻尼曲线控制corners坐标。&nbsp;&nbsp;<a href='http://www.cnblogs.com/sban/archive/2008/04/01/jelly-effect-alert-window.html'>阅读全文</a><img src ="http://www.cnblogs.com/sban/aggbug/1133337.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41937/" target="_blank">[新闻]Google拟在9月发布自有浏览器 或采用火狐内核</a>]]></description></item><item><title>如何在PowerPoint中插入、提取swf文件</title><link>http://www.cnblogs.com/sban/archive/2008/03/28/extract-swf-from-ppt-and-insert.html</link><dc:creator>sban</dc:creator><author>sban</author><pubDate>Fri, 28 Mar 2008 04:21:00 GMT</pubDate><guid>http://www.cnblogs.com/sban/archive/2008/03/28/extract-swf-from-ppt-and-insert.html</guid><wfw:comment>http://www.cnblogs.com/sban/comments/1127388.html</wfw:comment><comments>http://www.cnblogs.com/sban/archive/2008/03/28/extract-swf-from-ppt-and-insert.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/sban/comments/commentRss/1127388.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/sban/services/trackbacks/1127388.html</trackback:ping><description><![CDATA[摘要: ppt文档经常在team meeting中用到，如果在ppt文档中引用一flash动画，我们可能不希望使用链接的方式，我们希望它可以直接在ppt中可以播放，即把swf文件内嵌于ppt文档之中。实现这个方法很简单，下载 flexworkwithflash-flashsource.rar，安装重启PowerPoint即可。<br><br>那么，如果我想把别人的ppt文档中的swf提取出来，应该怎么做呢？<br>&nbsp;&nbsp;<a href='http://www.cnblogs.com/sban/archive/2008/03/28/extract-swf-from-ppt-and-insert.html'>阅读全文</a><img src ="http://www.cnblogs.com/sban/aggbug/1127388.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41936/" target="_blank">[新闻]微软正在构思将Wi-Fi带入汽车</a>]]></description></item><item><title>用Flash cs3与flex 3让程序员与设计师分工协作以实现编码与设计分离</title><link>http://www.cnblogs.com/sban/archive/2008/03/20/let-flex-programmer-and-flash-designer-work-together-and-separate-code-from-design.html</link><dc:creator>sban</dc:creator><author>sban</author><pubDate>Thu, 20 Mar 2008 10:14:00 GMT</pubDate><guid>http://www.cnblogs.com/sban/archive/2008/03/20/let-flex-programmer-and-flash-designer-work-together-and-separate-code-from-design.html</guid><wfw:comment>http://www.cnblogs.com/sban/comments/1115188.html</wfw:comment><comments>http://www.cnblogs.com/sban/archive/2008/03/20/let-flex-programmer-and-flash-designer-work-together-and-separate-code-from-design.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/sban/comments/commentRss/1115188.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/sban/services/trackbacks/1115188.html</trackback:ping><description><![CDATA[摘要: 实现编码与设计的好处是显而易见的：<br><br>一，代码易于维护与二次开发。所有AS代码以面向对象的思想在flash外部组织，用notepad即能打开。比起传统的as2分散于frame之间，以及更早的分散于影片与按纽之上，其优点好处不言而喻。<br><br>二，设计独立于代码之外。可以在没有程序员的清况下，修改程序（系统） 的外观，亦可以新做一批theme；程序没有变，只是改改图片和排列位置，大小等，就可以迅速焕然一新。譬如，在春节时，加一些春节的时令元素进去，这将是一件很容易做的事情。&nbsp;&nbsp;<a href='http://www.cnblogs.com/sban/archive/2008/03/20/let-flex-programmer-and-flash-designer-work-together-and-separate-code-from-design.html'>阅读全文</a><img src ="http://www.cnblogs.com/sban/aggbug/1115188.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41935/" target="_blank">[新闻]对比测试：IE8 Beta 2 VS Firefox 3.0.1</a>]]></description></item><item><title>在ubuntu7.10下搭建flex开发环境详解</title><link>http://www.cnblogs.com/sban/archive/2008/03/12/install-adobe-flex-builder-in-ubuntu-gusty.html</link><dc:creator>sban</dc:creator><author>sban</author><pubDate>Wed, 12 Mar 2008 05:08:00 GMT</pubDate><guid>http://www.cnblogs.com/sban/archive/2008/03/12/install-adobe-flex-builder-in-ubuntu-gusty.html</guid><wfw:comment>http://www.cnblogs.com/sban/comments/1101952.html</wfw:comment><comments>http://www.cnblogs.com/sban/archive/2008/03/12/install-adobe-flex-builder-in-ubuntu-gusty.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnblogs.com/sban/comments/commentRss/1101952.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/sban/services/trackbacks/1101952.html</trackback:ping><description><![CDATA[摘要: 在ubuntu7.10下如何安装flex builder linux?如何架构其开发环境？本blog多图。&nbsp;&nbsp;<a href='http://www.cnblogs.com/sban/archive/2008/03/12/install-adobe-flex-builder-in-ubuntu-gusty.html'>阅读全文</a><img src ="http://www.cnblogs.com/sban/aggbug/1101952.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41934/" target="_blank">[新闻]iPhone存在严重密码安全漏洞</a>]]></description></item><item><title>用flash cs3美化flex3之skin开发</title><link>http://www.cnblogs.com/sban/archive/2008/03/08/flash-cs3-skin-for-flex-controls.html</link><dc:creator>sban</dc:creator><author>sban</author><pubDate>Sat, 08 Mar 2008 05:03:00 GMT</pubDate><guid>http://www.cnblogs.com/sban/archive/2008/03/08/flash-cs3-skin-for-flex-controls.html</guid><wfw:comment>http://www.cnblogs.com/sban/comments/1096406.html</wfw:comment><comments>http://www.cnblogs.com/sban/archive/2008/03/08/flash-cs3-skin-for-flex-controls.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/sban/comments/commentRss/1096406.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/sban/services/trackbacks/1096406.html</trackback:ping><description><![CDATA[摘要: 用flash cs3开发skin美化flex组件才是王道。&nbsp;&nbsp;<a href='http://www.cnblogs.com/sban/archive/2008/03/08/flash-cs3-skin-for-flex-controls.html'>阅读全文</a><img src ="http://www.cnblogs.com/sban/aggbug/1096406.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41931/" target="_blank">[新闻]GC2008：星际争霸2进程报告 微调进程延续</a>]]></description></item><item><title>土豆网播放器源码</title><link>http://www.cnblogs.com/sban/archive/2008/03/08/tudou-player-soruce-code.html</link><dc:creator>sban</dc:creator><author>sban</author><pubDate>Fri, 07 Mar 2008 18:26:00 GMT</pubDate><guid>http://www.cnblogs.com/sban/archive/2008/03/08/tudou-player-soruce-code.html</guid><wfw:comment>http://www.cnblogs.com/sban/comments/1096042.html</wfw:comment><comments>http://www.cnblogs.com/sban/archive/2008/03/08/tudou-player-soruce-code.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/sban/comments/commentRss/1096042.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/sban/services/trackbacks/1096042.html</trackback:ping><description><![CDATA[摘要: 这个版本是我从网站找的，看了一下源码，是用flash 8编写的，actionscript版本是2.0，面向过程编码，不推荐as初学者研究。哪位高手如果有兴趣，可以改写成一个as3.0的播放器。&nbsp;&nbsp;<a href='http://www.cnblogs.com/sban/archive/2008/03/08/tudou-player-soruce-code.html'>阅读全文</a><img src ="http://www.cnblogs.com/sban/aggbug/1096042.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41931/" target="_blank">[新闻]GC2008：星际争霸2进程报告 微调进程延续</a>]]></description></item></channel></rss>