Archive for the ‘Flex 3’ Category

Flex Performance Tuning Tips

Wednesday, June 27th, 2007

Flex Speed Tips: Matt chotin has shared a some great tips to improve Flex performance which I came through and would like to share with the community,

  • If you have a type in AS3, which you are not sure of always use the As operator to cast the type before you use it. This avoids VM errors with try/catch, which slow the execution and is ten times slower than the As operator.
  • Array is access is slow if the array is sparse. It may be faster to put nulls in empty values as this speeds things up. Array misses are very slow, up to 20 times slower than finding a valid entry.
  • Avoid implicit type conversion. In the player it will convert integers to numbers and back when asked to add integers. You might as well use numbers for everything and convert back to integer at the end.
  • Local variable access is faster, so assign variables to local if they are accessed a lot. They will be stored on the stack and access is much quicker.
  • Data Binding expressions take up memory and can slow down the application startup. It may be more efficient to do an assignment in code rather than using binding.
  • Find a slow computer and run your application. If it runs OK ship it! Other wise you can use flash.utils.getTimer():int to get a time value in miliseconds before and after some process to time it.
  • In Flex Builder 3 there is a profiler that allows you to take performance snapshots to record how long was spent in each function. This is useful to identify the areas of code that might benefit from optimization. While profiler is running everything is much slower. Often Mouse or similar Events will seem to take lots of time, you can ignore these. Investigate your own functions and see if they have been called too often or they take too long.

Top 10 Reasons : Why Flex wins over Silverlight :)

Tuesday, June 26th, 2007

Ted Says:

1. Flex is available today and works.

2. Flex 2 is viewable in 85+% of web browsers, Flex 2 SWF files run in Flash Player 9.

3. You can use any HTTP Server and any backend technology (.NET,JAVA,PHP,Ruby,CF, Python) with Flex via XML, SOAP, Sockets, ZLIB, Etc. (more…)

Flex Rules in Adobe MAX 2007 agenda and sessions

Friday, June 22nd, 2007

The Adobe MAX 2007 Conference Agenda and session has been published ! This is the first edition of the MAX  where you can see many session dedicated to designer and creative people !!

And of course a lot of speeches are dedicated to Flex 3 and AIR.

According to Ted “The “Inspire” sessions will be hosted in a prominent 500 person room and will provide 13 unique sessions that are currently not listed in the event agenda, speaker list, session list, or Flex Scheduler (post registration). These speakers and sessions will be announced gradually and it is a whos-who of the top speakers in RIA, Web, Design, and showcase some of Adobe’s best customers.”
 

A great implementation PureMVC: AS3 Framework

Thursday, June 21st, 2007

MVCHi Guys,

from: GuruFaction Cliff Hall has developed a AS3 MVC framework called PureMVC. Unlike Cairngorm the PureMVC frameworks targets any AS3 based application including Flex,Flash, and AIR. I recently convert the Cairngorm CafeTownsend demo to use the PureMVC framework. You can download the source and view the demo app over at http://puremvc.org 

I have downloaded PureMVC framework and its great. I suggest serious OO programmers to to have a look on it.

Link: PureMVC

What’s new in Flex 3: Adobe Article

Monday, June 18th, 2007

Hi Guys,

Matt,Adobe

A must to read Flex 3 Article by Matt Chotin, product manager on the Adobe Flex team who focuses on the Flex SDK.

Flex 3 features:In a NutShell

The Flex 3 release is divided into four major themes: designer/developer workflow, working with data, Adobe AIR applications, and platform evolution. Let’s quickly review some of the highlights:

  • Native support for Adobe AIR – Flex 3 introduces new components and incorporates the Adobe AIR development tools into the SDK and Flex Builder.
  • Persistent framework caching – You can make Flex 3 applications as small as 50K when leveraging the new Flash Player cache for Adobe platform components.
  • Flex Builder productivity enhancements – Flex Builder 3 introduces refactoring support, new profilers for performance and memory tuning, and code generation tools for data access.
  • Integration with Creative Suite 3 – The Flex Component Kit for Flash CS3 allows Flash CS3 users to build components that can be seamlessly integrated into a Flex application, while Flex Builder 3 adds new wizards for importing assets from CS3 applications as skins.
  • Advanced DataGrid – The Advanced DataGrid is a new component that adds commonly requested features to the DataGrid such as support for hierarchical data, and basic pivot table functionality.
  • First steps toward open source Flex. As a first step toward making Flex an open source project, we’ve opened up the Flex and Flex Builder bug tracking system to the public, as well as published detailed roadmap information.

$100 for an Hour Flex Developers needed

Wednesday, June 13th, 2007

Hi Guys!!!

Adobe User Research would like to talk to Flex developers next week in our historic San Francisco office. We know your time is valuable, so in exchange for your coming to our office on Townsend Street (at 7th Street) for about an hour, we would be happy to give you $100.

To see if you qualify for this research, please take a minute to answer the short survey we have posted here.

And remember, we hate spam as much as you do, so we never share your information outside of Adobe User Research.

If you are not a Flex user but would like to participate in other paid user research conducted by Adobe, please register at http://www.adobe.com/survey.

And thanks! We couldn’t do it without our fantastic and opinionated customers!

Source: Matt Chotin Blog

Flex 3 Beta 1 (Moxie) & AIR Documentation Released

Wednesday, June 13th, 2007

Adobe has released Flex 3 and AIR (Formerly Apollo) Documentation. Please find the resources at following links.

Beta 1 learning resources
Here is a list (including links) of Flex 3 Beta 1 learning resources:

(more…)

Pune Flex User Group Meet (FUG)

Tuesday, June 12th, 2007

Hi Guys,

It finally happend :) and was much more exciting than expected. We had great Guru’s of Flex there passionate about talking Flex, promoting Flex and keeping their efforts to see a real Web 2.0 world.

FUG Meet

We Had Prayank Swaroop (Adobe Evangelist), Abdul Quabiz, Suketu Vyas, Rafique Gilani and yes!! I was there too looking at the shining stars on board discussing some great happenings in Adobe world.

(more…)