Thursday, April 17, 2008

Rendering Performance

I like to set the props / layout of the component/application by overriding updateDisplayList();

However, I experience a drop of rendering speed in Flex application when the application is developed into a larger size. And I discover that the key issue was using "setStyle" everytime when the updateDisplayList() is executed.

Actually the setStyle just need to apply once after the application is initialized. So the problem can be solved after I added _init flag into the application and run the setStyle procedures only if the _init is true...

Monday, April 14, 2008

wmode on Firefox

when u set wmode in html, and the page is opened in Firefox, it will mess up your special chars input such as Chinese / German or whatever... so lame...

https://bugzilla.mozilla.org/show_bug.cgi?id=347185

https://bugs.adobe.com/jira/browse/SDK-12420

http://www.google.com/search?hl=zh-TW&rls=com.microsoft%3Azh-hk%3AIE-SearchBox&rlz=1I7GZAZ&q=firefox+wmode+bug&lr=