![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Flash Profession CS
文章平均质量分 62
zlxadhkust
这个作者很懒,什么都没留下…
展开
-
关于本人将会搬家博客的声明
至对这个博客有点关注的人:本人写博客的初衷很简单,主要是管理个人的知识和信息,软件开发这个行业的知识有其独特的性质,博大精深,结构宏大而细微处又琐碎,往往要经过一番长期的求索才能领悟一些知识,比如原理,算法等等,所以作为从业人员,记录下自己解开的知识点非常重要。这些博客其实只是个人的学习笔记,目标读者也只是我自己而已,没想到还是有很多人来看,也有些被收入知识库。也没有想到有一天会写原创 2017-04-13 17:05:25 · 527 阅读 · 0 评论 -
Investigation of CircleCube Video Player (Day 5)
I have prune out the code, following the previous instructions. But I keep over-lay play|pause button, and still image.Back to code. Because this code is de-compiled. I adjusted the co原创 2012-10-29 17:15:15 · 582 阅读 · 0 评论 -
Investigation of CircleCube Video Player (Day 4)
Review of the Structure DesignAt the moment, the most helpless functions have been cut off. Only the basic and should be retained features remain. And it's time to figure out the whole program's原创 2011-07-15 11:00:38 · 355 阅读 · 0 评论 -
Actionscript3.0 里的用户事件流,以及如何利用
I am talking about this topic, because I encounter a problem with event flow design when working on my new project - which we call it iKeleido.This involves the event framework in Actionscript3.原创 2012-09-19 11:07:06 · 1111 阅读 · 1 评论 -
Investigation of CircleCube Video Player (Day 3)
HouseCleaningAt the moment, nearly half of the code has been removed, and we should scan each function and variable and see if it is still in need. Let's roll out.The following functions h原创 2011-07-14 10:35:45 · 475 阅读 · 0 评论 -
Investigation of CircleCube Video Player (Day 2)
Remove of Communication between Flash and other waresLoad vars from JavaScriptInside function readFlashVars(), it calls function xml_load() to load setting variables and assign them to t原创 2011-07-13 10:46:50 · 568 阅读 · 0 评论 -
Drawing Board with AS3.0
Refs:Create a Basic Drawing Application in Flash(这个虽然完整详细,可是画线部分的实现思路过于简单基本)AS3 pixel perfect drawing?(关于线的样式的讨论,流畅度)http://stackoverflow.com/questions/1937184/applying-a-color-gradient-on-a-l原创 2012-10-15 11:35:51 · 577 阅读 · 0 评论 -
基于AIR实现的Android程序
Refs:http://evacyl52201.pixnet.net/blog/post/29931855-adobe-air-for-android%E6%95%99%E5%AD%B8http://www.flycan.com/article/actionscript/adobe-air-for-android-838.htmlhttp://www.adobe.com/ins原创 2012-09-21 12:24:13 · 437 阅读 · 0 评论 -
Investigate into Portfolio Multi Media Tab Gallery - 2
FileViewerBeside from init(), it also has public method show(), hide() and run() for its parent. But, hide() is not called by its parent, although it is public, it's just called by its own met原创 2012-06-05 16:19:17 · 623 阅读 · 0 评论 -
Case Study: A kind of Radial Menu
這個Actionscript2.0的程序有它的名字,在Activeden上面是We-Love-Mp3。我對它的這個徑向菜單的做法蠻有興趣。我需要選擇一個切入點來進行研究學習。這次我先不從代碼入手,而是從觀察運行時的狀態入手,因為Adobe針對As2.0做了一個很好用的debugger,它的功能相似于眼下針對HTML和Javascript的調試器,比如Firebug或原创 2012-09-03 12:48:22 · 555 阅读 · 0 评论 -
Alternatives to Array in Actionscript3.0
It is recommended by Adobe authority, that if Array's functionality is not a must, then use Vector to replace it.class someClass{ private var _topMenuItems:Vector. = new Vector.(); //...原创 2012-10-05 12:55:15 · 386 阅读 · 0 评论 -
Multi-Touch in Actionscript3.0 on Touch-enabled Devices: 利用兩點觸摸實現縮放手勢
實際上這個研究是從發現adobe的官方Actionscript3.0開發文檔開始的,在其中有一章是介紹用As3在觸摸設備上進行多點觸摸開發。它的在線版本是:Touch, multitouch and gesture input先介紹一些我做這個實驗所使用的測試系統環境,我使用的硬件是一個46寸的光學觸摸屏,它有自帶的嵌入式計算機,跟普通的個人電腦沒啥區別,裏面運行的操作系統是Windows原创 2012-05-24 17:33:55 · 1726 阅读 · 1 评论 -
一種更符合工程學標準的Flash項目文件結構
通常在創建Flash項目時,我們習慣於將所有的文件都與fla文件放在同一個路徑下,這是由於默認情況下,Flash構建swf運行時對於其他依賴文件的搜索都是從當下路徑開始。不過這不是一個科學的方法。現在是時候修改下了。預設定:創建一個project文件夾,用來作為項目根目錄。在其下,用Flash Pro創建我的fla文件,一個新程序總是從這裡開始,然後在相同路徑下再創建一原创 2012-08-30 15:15:42 · 726 阅读 · 0 评论 -
HTMLLoader in AIR
Why I need this? Not important for now. Here is the Adobe online doc about this class HTMLLoader. It plays a role like browser.Explore BasisNow let's set up our programs for this experim原创 2012-08-17 15:12:20 · 1311 阅读 · 2 评论 -
Loop Through Object in Actionscript3.0
In Actionscript3.0, there is a method to iterate through an object:var $obj:Object = {};$obj.prop1 = "value-1";$obj.prop2 = "value-2";$obj.prop3 = "value-3";$obj.prop4 = "value-4";$obj["prop5原创 2011-11-01 14:52:32 · 449 阅读 · 0 评论 -
使用TweenMax與TimelineMax仿造一個模板怪獸的效果
前言:該模板的標號為24063,本文將探討的只是其中相冊裏面照片相互轉換時的一個動畫效果,如圖:關於這個效果的原理,之後我會在HTMW類別裏面寫一篇文章來介紹。而這裡將重點放在如何使用TimelineMax上面。準備:還是先去官網下載:http://www.greensock.com/tweenlite/另外,主要類的在線文檔:htt原创 2012-05-05 20:03:08 · 3004 阅读 · 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 · 774 阅读 · 4 评论 -
在個視頻檔案的元數據缺失的情況下,獲得視頻的寬高尺寸
發現:在之前研究Portfolio Multi Media Tab Gallery的源碼的時候,見到在視頻播放功能的模塊里,有如下結構的代碼:準備工作:_netConn = new NetConnection();_netConn.connect(null);_metadata = new Object();_metadata.onMetaData = meta原创 2012-06-27 14:37:05 · 4493 阅读 · 0 评论 -
Investigation of CircleCube Video Player (Day 6)
So now the left task is to change the logic of the latest version, to what we want it to be.Finally, this player would be different with respect of:1. there is no mouse_over|mouse_out event at原创 2012-10-31 15:18:29 · 565 阅读 · 0 评论 -
Investigation of CircleCube Video Player (Day 7)
Now we are at point where to add a function: when the player is in playing state, then start the timer, to hide the control panel.version b.4For now, the logic is: if the cursor is outside the原创 2012-11-02 11:38:35 · 429 阅读 · 0 评论 -
Garbage Collection in Actionscript3.0
Almost all the discussions on this topic I've seen on the Internet are bad news so far. According to Adobe docs, only debug version of Flash player support gc() command.The first problem is原创 2013-02-07 09:37:09 · 628 阅读 · 0 评论 -
在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 · 2206 阅读 · 1 评论 -
Actionscript3.0 Logging with FlashPlayer
The most basic Method:There is one fairly simple method, just adding two lines:import flash.external.ExternalInterface;ExternalInterface.call( "console.log" , "Hey! I'm tracing from Flash!")原创 2011-10-24 14:33:02 · 804 阅读 · 0 评论 -
The REMOVE_FROM_STAGE event flow in AS3
I just found that this event didn't work in the way I was always thinking it as.When I was working on iWedding, it seems that the REMOVE_FROM_STAGE event handling function is executed before the原创 2012-11-29 11:03:28 · 569 阅读 · 0 评论 -
Notes on <Papervision 3D Essentials> - 01
Ok, it is a path which I have to go through.Chapter 2: Building your First ApplicationThis diagram illustrates the main concepts in Papervision3d, and their relationships. And原创 2012-11-15 17:46:06 · 807 阅读 · 1 评论 -
Notes on <Papervision 3D Essentials> - 02
Interactivity:There are two kinds of interactivity: object interactivity and material interactivity.And there is one point to notice:Notice that you need to set both viewport and material in原创 2013-01-10 12:30:19 · 708 阅读 · 0 评论 -
What is weak reference in Actionscript3.0?
The case is:I have some DO(DisplayObject), and I attach listeners to them, to listen to some my customized events. And I don't want to maintain references to these DO, because I don't want bot原创 2013-01-24 16:17:37 · 484 阅读 · 0 评论 -
在Flashplayer中显示PDF文件, SWFTools怎么用
目前在百度文档和另外一个什么在线文档中见过这个做法,在美国的box网站也见过。在网址:http://www.swftools.org/download.html(或http://wiki.swftools.org/wiki/Main_Page)下载SWFTools的最新版的exe安装文件,然后安装到Windows。现在,本地已经有pdf2swf.exe了,在原创 2012-05-03 12:50:59 · 3880 阅读 · 2 评论 -
GPU加速-手势库
http://www.flashache.com/http://gamua.com/starling/原创 2012-12-17 15:00:05 · 455 阅读 · 0 评论 -
How to take advantage of Alcon
After unzipping the compressed file, the folder looks like:Copy the folder into Adobe Flash installation directory. And add the lib path in 'Actionscript3.0 Setting Panel':原创 2011-08-19 15:31:45 · 666 阅读 · 1 评论 -
Is it a BUG or something else? Can't Capture Mouse Events on a Loaded Swf
Just try the below code:package { import flash.display.*; import flash.events.*; import flash.net.*; public class main extends MovieClip { private var _file:String = "stickers/dirt_road.s原创 2012-11-13 11:51:12 · 433 阅读 · 0 评论 -
计算两线夹角的实验
如果利用象限来考虑,好吧,我自己写个lab得了:其中的点是个自定义类,lib里的symbol上放置一个图案和一个TextField:package { import flash.display.*; public class Point extends Sprite { public function Point() { // con原创 2012-11-13 13:14:58 · 887 阅读 · 0 评论 -
Investigation on Wall 3D - 01
This can be regarded as a PV3D case study. The program is from Flashden, it is like:Please note that, according to the user manual, you should add the folder "MyLibs3b" in "CLASS" to Actio原创 2012-11-09 10:35:14 · 457 阅读 · 2 评论 -
Investigation of CircleCube Video Player (Day 1)
It is a very interesting task to simplify a complicated AS project by wiping out the code block by block, just like taking away its meat and finally only bone left.The video player component has原创 2011-07-11 17:40:02 · 895 阅读 · 0 评论 -
Drawing Board Functionality: Erasing Drawn Graphics
A drawing board application should always has a functionality, which is to provide an eraser, to make use can clear some graphics partially.Here is the workaround:Suppose you have a Sprite cal原创 2012-10-26 15:41:59 · 854 阅读 · 1 评论 -
Write Local Image with AIR
It is really disappointing, and frustrating when seeing as3corelib's official site. It seems that this project was shutdown and not supported any more, since two years ago.We can see that all of the原创 2012-09-25 14:54:13 · 668 阅读 · 3 评论 -
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 · 394 阅读 · 0 评论 -
判断一个视频播放结束
其实下面那篇参考文章提到的问题眼下对我来讲意义不大。因为我需要做的事情只是当一个视频在播放中被中断时,进行一些必要的清理工作,比如释放资源。通常播放本地磁盘上的flv/f4v文件的代码写法是:this._video = new Video();this._connection = new NetConnection();this._connection.connec原创 2012-05-08 12:52:48 · 2409 阅读 · 1 评论 -
Draw whatever Graphic you want with Actionscript3.0
function drawRoundRect(w ,h, tl, tr, bl, br, thick, borderColor, bgColor, trans) { var rect:Shape = new Shape(); if (thick != 0) rect.graphics.lineStyle(thick, borderColor); rect.graphics.beginFill原创 2012-06-26 16:34:19 · 424 阅读 · 0 评论 -
Basics of Template Monster's Flash Site: data storage & utility function of data accessing
數據存儲TM的作品,通常將數據都擺放在一個XML文件內,而不同作品中的這個文件的內容基本上都遵從著同一個格式: true A Few Words About IDS]]> <原创 2012-05-09 21:57:38 · 1270 阅读 · 0 评论