CRC-eDirectory
文章平均质量分 59
zlxadhkust
这个作者很懒,什么都没留下…
展开
-
使用TweenLite與TimelineLite改變MovieClip的亮度以及大小
First, go to http://www.greensock.com/tweenlite/ and download the library package for AS3. Then unpack the archive into your directory.I created a new folder: TimelineLite-Trial, and unzip the原创 2011-11-14 17:22:23 · 1417 阅读 · 0 评论 -
PHP predefined variables in $_SERVER
Well, I found it was really handful if you want more flexibility when designing interchanges among some pages within a site. I output $_SERVER array under my Apache server:Array( [MIBDIRS原创 2012-04-20 14:35:50 · 24232 阅读 · 0 评论 -
Using a Dynamic Class Name
Previously, I have some code like this:transitionEffect/effects/GlowingGridEffect.aspackage transitionEffect.effects { import flash.display.Sprite; ... public class GlowingGridEffect原创 2012-05-06 22:56:02 · 402 阅读 · 0 评论 -
通过命令行执行PHP文件写字符到外部文本 & server端与客户端的当下绝对路径 & PHP的时间设定
被这个问题弄好久,帖子在这里:http://topic.csdn.net/u/20120206/18/48dc82ff-ce7d-4090-9721-ba1a8a9aaaa7.html?27798另外我想进一步实验这个做法,在PHP里有require和include指令,之前就是因为使用相对路径,没有引用成功。继续使用帖子中的测试程序,在externalIOTest\下面创原创 2012-02-07 09:56:16 · 874 阅读 · 0 评论 -
在Flash中播放GIF图片
REFS:http://www.flycan.com.tw/board/modules/newbb/viewtopic.php?topic_id=1441http://www.bytearray.org/?p=95http://code.google.com/p/as3gif/原创 2012-05-02 18:16:18 · 530 阅读 · 0 评论 -
判断一个视频播放结束
其实下面那篇参考文章提到的问题眼下对我来讲意义不大。因为我需要做的事情只是当一个视频在播放中被中断时,进行一些必要的清理工作,比如释放资源。通常播放本地磁盘上的flv/f4v文件的代码写法是:this._video = new Video();this._connection = new NetConnection();this._connection.connec原创 2012-05-08 12:52:48 · 2350 阅读 · 1 评论 -
About SWFObject generated by Flash Professional, and the HTML tag with clsid
References:SWFObject documentationFlash / HTML Object標籤的 classid 如何寫?problem with classid in Drupal原创 2012-06-28 12:26:49 · 764 阅读 · 4 评论 -
在個視頻檔案的元數據缺失的情況下,獲得視頻的寬高尺寸
發現:在之前研究Portfolio Multi Media Tab Gallery的源碼的時候,見到在視頻播放功能的模塊里,有如下結構的代碼:準備工作:_netConn = new NetConnection();_netConn.connect(null);_metadata = new Object();_metadata.onMetaData = meta原创 2012-06-27 14:37:05 · 4457 阅读 · 0 评论 -
用facebox彈出窗口顯示Flash
用基本的Javascript操作HTML標籤:首先,來看看如何用Javascript操作嵌入Flash的HTML標籤:通常使用Flash Professional輸出flash時,生成的HTML內是通過swfobject來將swf嵌入網頁中的,它的典型格式是: loadeee html, body { height:100%; back原创 2012-06-27 16:36:43 · 583 阅读 · 0 评论 -
如何使用jQuery UI的sortable组件做一个更为友好的界面(上)
http://jqueryui.com/demos/sortable/Basic Understanding of How It WorksWell, after pretty while of playing around with the docs and demos, let's set up our own prototype program firstly. I原创 2012-07-11 12:00:33 · 2400 阅读 · 1 评论 -
如何使用jQuery UI的sortable组件做一个更为友好的界面(下)
Realize the One-way, One-to-multiple, Drag&Drop ListsSet up Basic ProgramThis time, no sortable involved; but the program got more complex, since we need more functionalities. We will use原创 2012-07-17 17:07:40 · 672 阅读 · 0 评论 -
exec() and system() in PHP
前提:将SWFTools安装到目录: C:\Vin\SWFTools\。然后在系统环境变量中,给path增加此路径。我们在路径C:\temp\下放置一个测试用的PDF样品:testSample.pdf。在命令提示器中执行pdf2swf,将pdf输出成swf,测试成功:环境:Windows 7 + XAMPP 1.7.3(PHP 5.3.1, Apache 2.2.14,原创 2012-08-06 15:34:41 · 984 阅读 · 0 评论 -
如何使用jQuery UI的sortable组件做一个更为友好的界面(中)
Realize the Two-way Drag & Drop ListsSet up Basic ProgramNow it's time to do it in action. Let's create the two-way drag-&-drop lists firstly, since it seems more easy.We setup the basic原创 2012-07-17 15:09:41 · 1455 阅读 · 0 评论 -
使用TweenMax與TimelineMax仿造一個模板怪獸的效果
前言:該模板的標號為24063,本文將探討的只是其中相冊裏面照片相互轉換時的一個動畫效果,如圖:關於這個效果的原理,之後我會在HTMW類別裏面寫一篇文章來介紹。而這裡將重點放在如何使用TimelineMax上面。準備:還是先去官網下載:http://www.greensock.com/tweenlite/另外,主要類的在線文檔:htt原创 2012-05-05 20:03:08 · 2982 阅读 · 1 评论 -
Clear Array in Actionscript3.0
array = [];is equivalent to:array = new Array();This would not cause memory leak, but it is not recommended, for unknown reasons.array.length = 0;andarray.splice(ar原创 2012-04-24 17:50:21 · 396 阅读 · 0 评论 -
File System with Actionscript3 on AIR
The File class includes static properties that let you reference commonly used directory locations. These static properties include:File.applicationStorageDirectorya storage directory un原创 2011-11-23 12:37:01 · 384 阅读 · 0 评论 -
使用AMFPHP2.0
The AMFPHP at this moment is different from the discussion in ; its home page is:http://www.silexlabs.org/amfphp/InstallationFirstly, put the folder inside the zip archive under web原创 2012-01-12 11:31:32 · 1437 阅读 · 0 评论 -
一个关于jQuery UI里的slider的问题
这个控件的网页在jQuery UI的官网:http://jqueryui.com/demos/slider/#range 可以找到。在我最近正在阅读的《jQuery in Action》里,第十一章内有一个小节是用来介绍这个控件的,其中作者还提供了一个非常有用的实验程序:这个程序运行良好,它的jQuery的版本是1.4,UI的版本是1.8。原创 2012-04-07 23:48:39 · 1584 阅读 · 1 评论 -
Tweener 是否會導致內存洩露, 以及AIR 的垃圾回收
In general, the use of Tweener would be a simple call to 'addTween()' function of static class 'Tweener':Tweener.addTween(myMovie, {x:10, y:10, time:1, transition:"linear"});And so far, I ha原创 2011-11-18 12:01:06 · 821 阅读 · 1 评论 -
MD5 in Actionscript3.0
download this file: http://www.kirupa.com/forum/attachment.php?attachmentid=46136&d=1208980599unzip the archive, put them into my package, and use it as:import com.ibeagle.vincezhang.edire原创 2011-12-02 11:48:46 · 1197 阅读 · 0 评论 -
设定PHP上载文件最大限制
REFs:http://phpbb-tw.net/phpbb/viewtopic.php?f=113&t=46173原创 2011-12-18 13:28:48 · 305 阅读 · 0 评论 -
怎样使用 RSYNC?
REFs:http://www.csie.nctu.edu.tw/~tsaiwn/course/introcs/history/linux/linux.tnc.edu.tw/techdoc/rsync.htmhttp://cychiang719.blogspot.com/2009/06/rsync.htmlhttp://www.samba.org/ftp/rsync/rsync原创 2011-12-08 10:45:33 · 369 阅读 · 0 评论 -
Batch Programming on Windows
Problems:REFs:http://freetoad.pixnet.net/blog/post/23509679-net-use-devicename%3A-%5C%5Ccomputer-name-%E5%A4%B1%E6%95%97%EF%BC%9F(net use devicename: \\computer name 失敗?)ht原创 2011-12-08 16:51:34 · 510 阅读 · 0 评论 -
Enum in Actionscript3
What is my target:What is our concern?REFs:http://joelhooks.com/2008/04/28/enumerating-data-types-in-actionscript-3-as3/http://www.kirupa.com/forum/showthread.php?297579-原创 2011-12-12 10:48:42 · 450 阅读 · 0 评论 -
Get image from URL and save it
REFs:http://stackoverflow.com/questions/724391/save-image-from-php-url-using-php原创 2011-12-20 12:18:53 · 364 阅读 · 0 评论 -
Capture Keyboard Event in Actionscript3.0
function reportKeyDown(event:KeyboardEvent):void { trace( "Key Pressed: " + String.fromCharCode(event.charCode) + " (character code: " + event.charCode + ")" ); } Key Presse原创 2011-12-14 11:36:14 · 495 阅读 · 1 评论 -
SQL Progeamming in SQLite of CRC-eDirectory
Narrowcasting Loader:SELECTsys_config.value,sys_config.name,narr_casting.messageFROMsys_config ,narr_castingWHERE sys_config.name LIKE 'narrcast_speed' AND narr_casting.nc_id = 1Pan原创 2011-10-29 18:32:48 · 801 阅读 · 0 评论 -
XAMPP 1.7.3的一个变态Bug
这个问题出现的几率不见得会很高。对问题的描述如下:有一个跑Windows 7的PC作为server,安装的XAMPP 1.7.3;另外有若干PC作为client,跑的也是Windows 7,然后利用Windows自带的共享精灵在client机上面将一个本地文件夹共享出来,在server上面利用net use指令将client机上的共享文件夹映射为server本地的X、Y和Z盘符。原创 2012-02-01 15:00:15 · 716 阅读 · 0 评论 -
Insight into eDir-CMS (Composed by Wing and EA) - 1
The first topic is about the output buffer of PHP, since I found intensive usage ofob_start() andob_end_flush() functions.Refs:http://rickykwan.iworkshop.com.hk/2010/03/656.htmlhttp://php.原创 2012-03-14 15:29:22 · 848 阅读 · 0 评论 -
Insight into eDir-CMS (Composed by Wing and EA) - 2
Form Submit on Company Editor and Room Editorcompany editing:On the client side, there are drop-down list and check box in the form:原创 2012-03-23 15:57:59 · 586 阅读 · 0 评论 -
Admin UI Design Collection
http://www.freecssshowcase.com/premium-css-templates/category/admin-panel/http://www.admin-templates.com/终于,在一阵千挑万选之后,我决定基于三个CMS的界面来修改成我现在的项目:首先以名为SkyAdmin的设计为主:因为这个界面里包含原创 2012-02-28 11:44:03 · 716 阅读 · 0 评论 -
Take a Close Look at AdminUs - 1
Today I will start investigating on this CMS skin design:And the first step is always to prune the undesired code away. We definitely don't need chart, so remove the code for that:原创 2012-03-15 20:37:34 · 1104 阅读 · 1 评论 -
在AIR下,用Actionscript3.0 输出日志到外部文件
Eventually, the solution I was using was nothing more than writing stream to a plain text file on the local file system.REFs:http://nochump.com/blog/archives/24http://stackoverfl原创 2011-11-19 20:09:10 · 2188 阅读 · 1 评论