Archive for category RIA
[Flex] 解決 VerifyError: Error #1014: Class IIMEClient could not be found.
當chowky 更新了air 2.0 之後,就發現以前的AIR application 會出現 VerifyError: Error #1014: Class IIMEClient could not be found.
chowky 就發現release note 提到:
According to the Adobe AIR 2 Release Notes:
You must update your application descriptor file to the 2.0 namespace in order to access the new AIR 2 APIs and behavior. If your application does not require the new AIR 2 APIs and behavior, you are not required to update the namespace from 1.x based namespace. To update the namespace, change the xmlns attribute in your application descriptor to: http://ns.adobe.com/air/application/2.0
原因就在於namespace 的改變。大家只需要把application 的xml config 改改namespace 就可以了。
[Flex] Flex SDK 下一個version 代號 Hero
這個hero 不是htc hero 呢~,乃是 flex sdk 下一version。
經過4個version 之後,flex 都開始變得穩定,
* Multi-Screen Development: Allow developers to build applications that target the web, desktop or mobile devices using a single unified framework.
* Spark Maturation: Polish and grow the Spark architecture by adding new Spark components and capabilities. (Spark Framework 由flex 4 引入,下一個version 當然會加入更多spark 的新 components 和 features
* Large-Application Development: Support developers building large applications by improving fundamental pieces of the Flex infrastructure.
| Milestone | Date |
|---|---|
| Product Defined | April 2010 |
| Hero Preview Release | Second-half 2010 |
| Final Hero Release | 2011 |
Source: http://opensource.adobe.com/wiki/display/flexsdk/Hero
Photoshop CS5 新功能試用
第一試
移形換影
沒有想過 Content-Aware用法如此簡單!原來只要圈選唔想見到的東西,然後在 Edit內的 Fill,選 Content-Aware,就可以像我一樣,將葉前的美女除去。
放大來細看,新葉完全看不出是複製而來,反而天空上的電線還須修飾一丁點。除了去人,我更試了填滿小溪,實用性極高,我就完全滿意喇!
Case One

■只要先將人物圈選起來,然後就可填上背景。

■中間那堆葉全無破綻,只是電線位要再執。
Case Two

■明明有條小溪。

■這個效果更誇張,全條鋪了草皮。
第二試
全景補邊
首先,這全景相上有水印不用奇怪,皆因用 AutopanoPro這 Shareware合成出來的,肯畀錢買就沒水印了。 Content-Aware另一用處是補邊,大多數全景合成軟件出來的成品都是呈弧形,需要裁相, CS5就不用了;只要將 Selection的邊位參數微微加大,同樣填上 Content-Aware,就會幫你補景在邊上了。

■大多數合成出來的全景相都不是直邊。

■ CS5不用裁,補景到邊上,但左下角太複雜時有少許破綻。
Adobe投訴 美查蘋果壟斷
近來最多 flash platform 上討論的事情當然是,apple 在adobe 推出cs5 之前3 日就改招改 app store 的license agreement.
Apple 這招「肥水不留別人田」的做法當然引來不少批評,而且,之後apple 出了公開信表明不加入flash的原因,而 adobe 就當然再出公開信反擊,搞到事件升級 (當然這是肯定會發生)。近日又有更新~

《華爾街日報》引述消息稱, Read the rest of this entry »
[Flex] Enterprise 利用 Flex 的 Do’s and Dont’s
雖然香港還未多人用flex ,不過later 應該會多一點人用呢~
chowky 除了覺得SEO 在flex 上面仍然是一個問題之外 (所以以chowky 的專業意見來說是會suggest html + flash),RIA 上面應該會要100﹪ 肯定會用flash。加上可以利用CS5 的 flash catalyst,改變傳統的創作模式,相信會愈來愈多人採用。
ok~ 題外話已經講完。
Flex 上做data visualization,其實是很合適的。
Enterprise 在技術上的應用是會比較慢的,(完全合理,因為IT system 是公司營運的重要一環,不會輕率地採用。)
現在 SAP,Crystal Report 都慢慢加入這個新功能,所以大家都會慢慢地見到AIR/FLEX 開發的的產品。雖然flex layout framework 加入了flash platform 入面,但是flash 的文字處理功能都仍然是弱,所以有可能只是某一些地方採用了flex ,而其他的都會用回html, java ..etc。
不過連oracle 都講和sell enterprise 2.0,看來enterprise 用RIA 應該只是時間問題。
這篇文章的作者真的不行
1. 利用MVC:正常的enterprise 的大project 都會有採用design pattern ,而flex 就應該利用 MVC model 的。

2. 放棄用 XML: enterprise 的project 必定是用database…..MSSQL/ORACEL DATABASE…..
3. Use resource bundles: for multi-language use. 同意的,現在每一個system 都想做到multilang。
4. Stay away from the Flex Builder WYSIWYG Editor: chowky 覺得他解釋得不對,雖然chowky 少用flex builder 的 wysiwyg,只是因為太慢,但不是不等如不用,hardcode X,Y ,很明顯只是作者不太了解flash builder wysiwyg…,我們可以改用left, right, top, bottom 的attributes ,這就可以解決hardcode x,y 的問題。
5. Don’t mix AS with MXML: 作者很明顯是java 的developer,functionality (chowky 是指business process) 竟然會放在flex 上run….正常會放在backend server,server process the result 再 return flex 4,原因是 enterprise 的data 的量和business logic都會是比較complex 的,server會比client PC 快很多,而且flex 4 是layout 都大概都會是利用skin 的方法。分不分AS / MXML 真是不太重要。
Source: http://flexonjava.blogspot.com/2010/04/enterprise-flex-development-dos-and.html
[Flex] Flex Pixel Bender
Flex 4 是可以利用pixel bender 來做新的effect 了。
這位作者就做了這個effect 來demo 一下pixel bender 的能力。
比起flash 本身有的filter (blur filter, glow filter, shadow filter…),這個當然會有很多新的玩法…. 記下來,可能遲一點會幫到你。
Source: http://www.artima.com/articles/bend_your_pixels.html
[Flash] Conduit for Flash Pixel Bender
flash 雖然本身都有很多的方法去做到不同效,不過點都不夠用pixel base 來做的效果。
不當然,這個software 都要錢呢~
Are you hitting the limits of visual effects or ActionScript performance in Flash?
The latest Flash Player version 10 introduces a powerful new feature: Pixel Bender shaders. Using shaders you can bypass Flash’s built-in image effects and blending modes and instead manipulate pixels at will. Shaders are rendered in realtime, so they can be applied to video as well as images.
Shaders are not just for graphics either — they can also be used to perform any other intensive computation in Flash. Shader computation automatically takes advantage of modern multicore processors. Shaders in Flash are a high-powered computing engine that allows a web app to jump directly into the multicore era, leapfrogging even traditional desktop apps in performance.
![]()
![]()
[Flex] Flash Builder 4 Setting
Chowky 常常都要利用到flash builder 4。
不過eclipse 就真的需要memory. 做得太多野的話,就會有機會out of memory…. 連build project 都會有問題呢。
不知道production release 會否有這個問題?
加多一點memory 的方法:
- 先要關上flash builder
- 打開 .ini 的setting file. Mac 的朋友:Flash Builder 4.app -> MacOS -> Adobe Flash Builder 4.ini,而PC就C:\Program Files\Adobe\Adobe Flash Builder 4\FlashBuilder.ini (當然是跟據你入的位置)
- Search 這個字串:”-Xmx512m”,這是max memory,較大一倍,1024 ~之後儲存,還有-Xms40 的呢,這個應該是minimum,可以改做-Xms256. ( 大家可以search 字頭就可以了,-Xmx , -Xms,現在的COMPUTER 很多ram….應該要物儘其用呢~
- 再重新開啟flash builder 就可以了~
文章中還有提到plugin 的呢~
大家可以試下這種方法,去customizing 個settings.
Source: http://www.insideria.com/2010/03/intro-to-flash-builder-4-workf.html
http://polygeek.com/2496_flex_improve-flash-builders-performance-by-updating-your-eclipse-ini-file
Adobe 公佈的 ColdFusion 9 performance
Adobe 公佈了coldfusion 9 和coldfusion 8 的performance 比較~
- CFC Object Creation – 700% improvement over CF8
- CFC Method Invocation – 200% improvement over CF8
- Flash Remoting – 800% improvement over CF8
- UUID key generator / CreateUUID – 10,000% improvement over CF8
- IIS Connector Performance Improvement – 100% improvement
看來都改善了不少呢。
雖然是收費的server。不過既有IDE 做development 之外,又有一套完整的library. development cost 都省了不少。
大家都是在最大化efficiency,development cost + hardware cost + software cost。可惜,香港是focus on hardware only……
人工一直以來雖然不算太低,但是it方面 ot 的情況一向很大,而外國對這方面又很有保障的。
所以外國會考慮,development cost : software cost 方面的平衡。
而香港的情況是,做不完的工作就 OT 去完成,development cost 既然可以用這種方法keep constant 的話,跟本就不用去考利用 increase software cost 去 ease development cost。
這就是香港不能成功的跟本原因
Google 這次收購的對象是… Picnik

很強的photoediting tools.
這個是利用了flex 的技術做成的呢~
每一個位都做得很完善呢。
preloader, animation 方面都到很順… 看來做了不少optimization.
Source: http://www.computerworld.com/s/article/9163978/Google_acquires_photo_editing_site_Picniks



Recent Comments