Performance optimization for Flash Player
Time and again the same scenario arises. An app is being built and it's all going fine until the very end when performance issues start to appear.
Optimizing Flash performance is certainly the most boring part of Flash Platform development but it's a cornerstone without which you, the Flex developer, can not do without.
An app is worth nothing unless you provide that effortless flow of interaction at all times.
There is not too much information on this topic as it is not the most interesting one but here are some simple guidelines that have helped me tremendously over the time, as well as a few great papers.
Topics: Flash, flash player, Flash Player optimization, Flex, Flex optimization
ZendAMF vs. AMFPHP
So far, of all the AMF frameworks I have been a proponent of AMFPHP and RailsAMF. I still don’t know RoR very well (working on it), but I’ve been using PHP for a long time and have grown to love it so AMFPHP was always my natural choice.
Now we have a new player in Flash Remoting arena - ZendAMF. Why should anybody care when AMFPHP was just fine?
A few reasons.
Continue reading »
Topics: amf, Flash, Flash Remoting, Flex, ZendAMF
How much Excel can we get in Flex?
...and why would we go around doing that when there are perfectly good solutions out there for online spreadsheets? For instance Google Docs in which I still haven't found a bug or a feature I'm missing.
Spreadsheets are necessary because people use them because they know how to use them. It is a straight forward interface that can yield good in high complexity situations.
Now most people want to use them online. And luckily there are plenty to go around.
Topics: Excel, Flash, Flex, online spreadsheets, Spreadsheets
Flex Camp Chicago ‘09 Community Showcase Presentation Summary

Here is some follow up information from the Flex Camp Chicago '09 Community Showcase presentation.
Topics: Flash, Flash Platform, Flex
Flare on PureMVC in Flex example
By this time, I am very happy and impressed with PureMVC. In combination with Flex Code Generator, plumbing downtime is minimal and more you work on a project, the more you see the benefits.
Out of all visualization frameworks for Flash Platform that I came in contact with, Flare is looking like the most customizable. I also like it's structure. At first I didn't, but now I love the fact that Visualizations are based on Sprites. I find that good for performance and transitions. You have to do a little extra work, but you will be happy with the result. All in all, I'm sold on it for now.
Topics: data visualization, Flare, Flash, Flash Platform, Flex, PureMVC
Using Flex Code Generator (FCG) with Flex & PureMVC
Recently I've been working on a Flex prototype using the PureMVC framework. I will talk at length another time about just how much PureMVC successfully solves a lot of problems that we encounter in interface development and especially about how much this framework is important for all those complex interactions that we expect out of our RIA interfaces.
Starting out with PureMVC is not a particularly easy task. It is a good thing that there are decent documentation and examples, at least for AS3. At first when I read the documentation, it made sense only on a high level, but translating that high level understanding to code right away was out of the question. I solved this initial sticking point by looking at a couple of AS3 examples like CafeTownsend and EmployeeAdmin, where you can see how the framework works on the right size demo app, not too big and not too small.
Topics: AS3, code generator, Flash, Flash Platform, Flex, flex code generator, PureMVC
Google Analytics Tracking Component for Flash Platform
Although it's not too hard to set up Google Analytics tracking on Flash based web sites the traditional way by referencing JavaScript, there are still good chances for something to go wrong in the process and debugging it is notoriously hard. The good people at Google have provided the Flash Platform Developer community with a great "little" library that wraps the whole process and provides a good debugging mode.
Pathfinder releases version 1 of its Flash Platform microsite (codename Mica)
You can see the site here. Come often as it will be updated on a regular basis.
The goal of this site is to shed more light on what is it that we do here at Pathfinder with the Flash Platform.
We would be very grateful to hear feedback about the site from any perspective.
Topics: Amazon CDN, Flash, Flash Platform, Flex, microsite, StageScaleMode
Bandwidth profiling Flex projects and more with Charles
Adobe Flash comes with a very useful feature for bandwidth profiling. It allows you to see how will your site/app act under certain network conditions.
Flex Builder unfortunately does not have that option so we have to look somewhere else for a solution for testing.
While there are many applications that simulate various network conditions, Charles stud up as the most practical for Flex developers, in my opinion.
Topics: amf, bandwidth, bandwidth profiling, caching, Charles, Flash, Flex, throttling
Skinning Flex with Illustrator CS3
There is many ways to skin Flex applications. To name some that I've used: Flex CSS, Programmatic AS3, Flash, Degrafa, Photoshop (JPG's, GIF's and PNG's) and Illustrator.
What usually needs to happen on a project is a combination of some or all of the above. Not having a single point of reference for skinning creates quite a bottleneck.
From different approaches, two surfaced as having the best pipeline: Illustrator CS3 and Degrafa. If we are talking speed and ease of graphic design, I would now default to Illustrator CS3. For advanced skinning and interactions Degrafa holds first place.
Topics: Flash, Flex, flex css, flex skins, illustrator cs3, importing graphics to flex, skins
Defining RIA Interaction Patterns on time in Flex Agile Development
Putting more attention to User Interaction Design is naturally becoming a standard practice with RIA.
With RIA technologies, classic Interaction Patterns are only building blocks, not solutions. With raised possibilities, Patterns have become more complex.
Topics: agile, Flash, Flex, interaction patterns design, Patterns, project management, ria
Flash Player on iPhone gossip
First thing that came to my mind when I initially heard about the iPhone was the multi-touch possibilities that would start changing the way we create Flash/Flex interfaces (hopefully through SDK extension supporting multi-touch on Adobe's side triggered by iPhone release).
It looked very promising and natural to me in the beginning that this will be the route. Flash is a great part of the Internet experience and iPhone is a great mobile device for, among other things, Internet access.
Topics: Flash, flash player, Flex, iPhone
Mouse wheel (scroll) Event in Flash Player running on a Mac
One of the great advantages of Flash technology is cross-browser and cross-platform compatibility. That is almost entirely true but a few things did slip Adobe.
A big issue that was overlooked is support for mouse wheel event on Mac OSX. A pretty basic functionality you would think. If your interface is heavily relying on mouse scrolling, your audience on Mac's will probably have a "so how does this work" blank stare.
Topics: externalinterface, Flash, Flex, Mac, mouse scroll, mouse wheel, osx
Flash/Flex physics engines and examples
Flash technology has gone a long way from simple vector animations. Today it has support for video and audio, 3d rendering and interaction, all kinds of advanced data visualization libraries, great components of all shapes, sizes and purposes.
What caught my eye lately is that there is a lot of 2D and 3D Physics engines being added to the list.
Continue reading »
Topics: 2d physics, 3D physics, AS3, Flash, Flex, physics, physics engines
Data visualization and the art of conveying information
As a coder, I go over tremendous amount of information on daily basis. My case is no different than anybody's else living in the world today. Regardless of where we live and how we spend our time we are saturated with all kinds of information, a lot of it that we don't care about and a lot of it that we wish we had fast access to, if at all.
Ironically, computer technology adds to the problem more often than not. All that computational power is often just creating more data that we will never experience because there's just too much of it everywhere and all the time. Traditional techniques of consuming information are becoming too slow and narrow to handle this kind of pace.
We have all heard that a "picture speaks a thousand words". Doesn't that sound like an efficient way to consume information? Now, there are pictures and there are pictures.
There are pictures that strike a cord with you and there are pictures that leave you bland. Which one are you more likely to remember and allot the time of your mind?
Here are some libraries for data visualization in Flex/Flash as well as some artful experiments that I found to be good tools/examples of data visualization.
Continue reading »
Topics: code art, data visualization, Flash, Flex
About Pathfinder
Follow the Blog
-
Get a monthly update on best practices for delivering successful software.
Subscribe via email
Subscribe via RSS
Categories
Topics
Archives
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
Blogroll
Recent
- Elements of Testing Style
- Aesthetics and Web Design
- Asterisk-Java Testing with Groovy
- 3 Misuses of Code Comments
- Fluently NHibernate
- Digging a Hole and Covering it with Leaves — The Software Development Version
- The Importance of User Experience - Do You Understand It in Your Bones?
- Writing Your Own Protocol With NSURLProtocol
- What’s In Your Dock: iPhone edition
- Feature Fatigue




