Recent Blog Entries
Shanghai Tian Di Xing Overview
Entry posted on Aug 31 by
Kingda
Key information:
- Time: 22th, August, 2010.
- Address: Building 3, No.300, Guo Ding Dong Road, Yan Pu District, Shanghai City, China
- Key persons: Kingda Sun Sun, Zhixiang, Nie, Fiona Duan, Kan Huang, Xiaolei Xu, Yanliang Ou, developers.
- Key words: New Technology of Adobe Flash Platform, Developer Camp, RIA Education, Development and Contributions of 9RIA.com, Social Game Example, Solutions of Flash Communication.
- Key souvenir: The 3 anniversary T-shirt of 9RIA.com
The afternoon of 22th, August 2010, Shanghai Tian Di Xing began at the eloquent lecture of Kingda Sun. There are about 100 developers attends this event. The beginning speech introduced the planning of 9RIA.com' development and the contributions 9RIA.com can make for developers.
The speaking was followed by Ping Feng(Zhixiang Nie), who talked a lot about the education of the RIA, the training of flash skills. Than, the shortage of flash talents in China was stressed by Fiona, who comes from Adobe China. I think the two speech above will benefit many people who just begin learning flash.
After Fiona, another member of Adobe China, Yanliang Ou brought us the fashion feast of Adobe Flash Platform technology application. The focus of Ou' speech was on Adobe AIR 2 and Flex 4. Some applications showed in the workshop interested many developers.
After Ou, Xiaolei Xu, who come from one of the biggest Social Game Company in China, Five Minutes, showed us an example of Social Game' develop.
The last technology sharing was made by Hack86(Kan Huang), a senior flash developer. He introduced the solution of flash interactive communication.
In this event, many souvenirs was sent to participants through funny interactive games. I think the meeting always goes with happiness.
Here is the picture:









You can get more information from 9RIA.com(Chinese page).
Hongzhou Tian Di Xing Overview
Entry posted on Aug 09 by
Kingda
Hongzhou Tian Di Xing was successfully held on 31,July. Firstly I should thank everyone who attended this camp. Thank all of you for your support and Enthusiasm.
Tian Di Xing has held in Hangzhou last year and maybe held in the follow years. We want to introduce the RIA fashion and technology, especially the Adobe applications to more and more people. And we expect more and more people will join us, join the flash camp, join the Adode camp.
This time, there are five experts making the speech including me. At the beginning, I introduced the development plan of 9RIA.com Tiandihui(www.9ria.com) and what the developer can get from 9RIA.com Tiandihui. I still stress that 9RIA.com Tiandihui will be committed to providing developers and enterprise the most optimized solutions of the font-end RIA, particularly the Adobe flash/flex technology.
The first lecturer Ouyanliang, the education and community manager of Adobe China, introduced the Adobe AIR 2 and Flex 4. Than, the speech was followed by Renjun, who comes from TaoBao Open Platform, brought us the business opportunities from TaoBao Open Platform.
The last two speech was focus on technology. Senior developer Zhuwenxuan and Huangkan introduced the AlertUtil application in a large flex project and the interactive communication based on Flash client server. You can get their speech pdf from http://bbs.9ria.com/thread-60299-1-1.html
Some pictures of Hangzhou Tian Di Xing.









You can get more information from 9ria.com
Tian Di Xing developer event: Hangzhou&Shanghai, I'm coming!
Entry posted on Jul 28 by
Kingda
Tian Di Xing,the Flash/Flex/AS front-end developer event, is held by 9RIA.COM Tiandihui and assisted by Adobe. 9RIA.Com Tiandihiu is the biggest Chinese developer community and the biggest Adobe Community Champion in Asia. Tian Di Xing was successfully held in Shanghai,Beijing,Hangzhou,Guangzhou etc. The meeting, which is organized in the form of technological lectures, convened nationwide experts and front-end developers in this domain. The latest RIA (Rich Internet Application) technological fashion will be shared in this conference. So far, there were more than 1,000 persons attending the Tian Di Xing developer event.
Tian Di Xing is held for spreading the latest technology of RIA(Rich Internet Application), especially the technology and the application of Adobe. This event will let more people know more about what flash can do, what Adobe products can do. The meeting shared the fashion technology and application for attracting more and more developer and students to join the camp of flash, the camp of RIA.
Now, Tian Di Xing is coming back. The event will be held in Hangzhou(31, July) and host in (Shanghai 22, August). This time we invite not only developers and students, but also many enterprises. Some developers from these companies will give lectures to deliver popular applications of RIA, particularly the Adobe technology. This communication also mean to let t
he developers know more about what the enterprise are doing and what the enterprise need. In the meeting, Adobe technologists and me also will give lectures.
You can see Hangzhou Tian Di Xing details through clicking here.
Particle Effects with Space Depth: Something about BitmapData
Entry posted on May 19 by
Kingda
I've done many tests to the partical effects in these days, here I'll share my experience with you .
Example 1:http://www.ryan-liu.com/demo/particle/MassParticleGlobe.html Example 2:http://www.ryan-liu.com/demo/par ... leGlobe_bitmap.html
There are two important issues when doing particle effects: first, the achievementof the visual effect, second is the performance. Both the two examples had achieved the particl effect, but when coming to the performance, the second sample is much better. We know that in the traditional rendering model, the movement and transform or any display changes of any components will make the Flashplayer re-draw it, and then rendering on the screen. (Though there weremany improvements had been done after Fl9, but it didn't improve it on the root) But BitmapData can operation on the pixels firstly, and then do the rendering process. And it will skip the draw process of the FP, make the dispay render the data directly.
In example 1, we use sprite bear the image which including the particles, when moving, it will do scaling according to the z-coordinate of the particles, do blur filter, and adjust colortransform to make it darker. Example 2 pre-generated 100BitmapData, placed 100 transition status of them in the a big image from its original view to the farest view (scale, blur and darker). And then we established a big BitmapData as 'canvas ' to draw all the instance. When moving, we search the regarding status in the 100 transition status according to the z-coordinate conversion, and then draw the corresponding instance of the position on the canvas . We will lock the draw pane before draw all the particles, thus it won't trigger the FP rendering the whole canvas to the screen, after drawing we will unlock it, FP will then render the whole canvas to the screen. Be attention to use copyPixels to draw the particles, but not draw method, draw method can make all the display object display on BitmapData, it is very convienient.But draw method would would call the traditional draw model to the target Object, it can't achieve the optimize approach, even if you had lock the canvas. Both the 2 samples are using the same arithmetic on moving and sorting, so we can see camparision on performace of the 2 methods clearly. The content above is a general method. There is nothing complex in this programm, it is only something regarding to your BitmapData knowladgment. Wish this will be useful to your guys. TKS.
Translator:adodo08
This is come from 9ria.com
original page
To Force rendering with the minimal frameRate
Entry posted on May 19 by
Kingda
|
It would be necessary for the developer who wants to build the bitmap-engine by himself to control the timing of render so that he can completely manage the reducing of performance . With that motivation some guy wants to shut down the auto-rendering mechanism of Flash Player(ENTER_FRAME) so that he can trigger the rendering all by himself.
After some experiments and explorations before I finally found a way to force render it. This method can be used at any time regardless of the frame rate or any other environmental conditions. And it doesn’t have to be triggered by events like mouse, Key, timer, EnterFrame etc. Here are the codes to share.(Just COPY these codes to the Timeline of FLA to test it.)
- 1. var lii:URLLoader = new URLLoader();
- 2. lii.addEventListener(ProgressEvent.PROGRESS,test);
- 3. addEventListener(Event.ENTER_FRAME,init);
- 4. stage.addEventListener(Event.RENDER,render);
- 5. var url:String = "http://flashdn-nctalk.ktics.co.kr/BnS_20091127/BNS_FullMovie_download.zip";
- 6. var aone:Sprite = new Sprite();
- 7. aone.graphics.beginFill(0xFF0000);
- 8. aone.graphics.drawRect(0,0,100,100);
- 9. aone.graphics.endFill();
- 10. aone.x = aone.y = 100;
- 11. addChild(aone);
- 12. function init(e:Event):void {
- 13. lii.load(new URLRequest(url));
- 14. stage.frameRate = 0.0000001;
- 15. removeEventListener(Event.ENTER_FRAME,init);
- 16. }
- 17. function test(e:ProgressEvent):void {
- 18. aone.x +=.1;
- 19. aone.rotation += 1;
- 20. stage.invalidate();
- 21. stage.quality = StageQuality.HIGH;
- 22. }
- 23.
- 24. function render(e:Event):void {
- 25. trace("render");
- 26. //won’t trigger the render event
- 27. }
1. var lii:URLLoader = new URLLoader();
2. lii.addEventListener(ProgressEvent.PROGRESS,test);
3. addEventListener(Event.ENTER_FRAME,init);
4. stage.addEventListener(Event.RENDER,render);
5. var url:String = "http://flashdn-nctalk.ktics.co.kr/BnS_20091127/BNS_FullMovie_download.zip";
6. var aone:Sprite = new Sprite();
7. aone.graphics.beginFill(0xFF0000);
8. aone.graphics.drawRect(0,0,100,100);
9. aone.graphics.endFill();
10. aone.x = aone.y = 100;
11. addChild(aone);
12. function init(e:Event):void {
13. lii.load(new URLRequest(url));
14. stage.frameRate = 0.0000001;
15. removeEventListener(Event.ENTER_FRAME,init);
16. }
17. function test(e:ProgressEvent):void {
18. aone.x +=.1;
19. aone.rotation += 1;
20. stage.invalidate();
21. stage.quality = StageQuality.HIGH;
22. }
23.
24. function render(e:Event):void {
25. trace("render");
26. //won’t trigger the render event
27. }
Note:If the link faked pls switch to click another one with larger file.The Loader was used as timer so the unsmooth performance was caused by the asymmetrical triggering of ProgressEvent.PROGRESS. This DEMO is for feasibility testing only. It forces player to render the whole screen through set.stage.quality, which leads to the same effects as using set.stage.frameRate.
- 1.
- 2. trace(1 / 0.0000001 / 60 / 60,"hours/frame") //2777.777777777778 hours/frame
There is only one tiny gap between the perfect and us—we can’t set the frameRate to Zero .So I set it to 0.0000001 frame per sec—where the least I can reach.
|
|
Search Blog
Recent Comments
|