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.
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″/>
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.
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.
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.