Month: June 2008

Max 2008

Max 2008 is on its way – check it out here.

Performance | Advanced DataGrid rendering

In one of my projects there were some custom needs where we wanted to display values in cell based on the data passed. This led us to write custom ItemRenderer’s. Considering that we were creating multiple instances of Containers like Canvas, Box with-in led me to thinking how would Advanced Data Grid, respond to this custom code. Upon certain tests for 100 to 10000 rows i came up with good looking results. Find them in the document.

Spell Checker for Flex

Spelling Plus Library (SPL) is a client-side based spell-checker that is intended to be used by Flash/Flex. View the product page.

Performance | Reducing SWF file size

If you are developing an Enterprise application in Flex, you must be asking yourself “how do i reduce the size of my SWF file?”. This is important because, bigger the file, the more time it will take to load. There are a few ways to do, but one of the ways that is not so common is out there is “not to embed images” in the SWF file.

Most of the examples that I have seen and gone through I have seen people do the following; which leads to Flex compiler picking up the image and puts that in the SWF file. This leads to increasing the file size.

<mx:Image source=”@Embed(source=’assets/welcome.jpg” height=”228″ scaleContent=”false” top=”10″ width=”429″ horizontalCenter=”0″‘)/>

Instead, if you would do the following, the image will requested from the web server when the Flex needs it. And, also as the images can be cached by the browser, after first time load, your client would not even need to request them again. How many times do you change assets in your application, so on every new deployment of the SWF file you do not need to worry about the static assets.

<mx:Image source=”assets/welcome.jpg” height=”228″ scaleContent=”false” top=”10″ width=”429″ horizontalCenter=”0″/>

Was Firefox 3.0 released too early?

Just after hours of Firefox 3.0 release, a “Code Execution Vulnerability was found” in Firefox 3.0. Read more.

Flash Player 10 | Public Beta available

This was announced on June 18th

A potential cross-site scripting vulnerability

Flex 3 has a potential cross-site scripting vulnerability for Adobe released a bulletin. It is recommended for all the users who are using HistoryManagement to apply this patch.

Bug – TextInput not capturing repeated keystrokes

I noticed that the “Text” controls i.e. TextInput, TextArea and RichTextEditor are behaving differently capturing Key strokes. This is happening only on Firefox 2.x on Mac OSx 10.4 where repeated keystrokes are not getting captured and holding down the key does not print the character on the screen.

This has also been logged with Adobe as a bug. If you have solved this problem please let me know.

Flex gets difficult !!

Now that I an over some of the simple things in Flex and started to use this in a real application, I am finding limitations in Flex. Just today, I created my account with Adobe Bug System. While I wait for Adobe to start replying, I am going to use my blog to communicate these to the community and hoping that we can also find a solution.

Keep listining.

“The first real web-based word processor” – Buzzword

Buzzword has been released on Acrobat.com which demos the word processing capabilities over a web application. Good thing about this application is that Adobe has a whole set of Development APIs that can be used in Flex/AIR to provide such capabilities into any application.