Flex and Java Differences: Getters & Setters

In Java it has become a standard practice to use a getter & setter notation to provide a consistent interface to an object’s properties. There is a reason why we don’t do the following in Java:

public String fullName;

The code above essentially creates an interface (or contract) between the class and the implementors of this […]

ActionScript/Flash/Flex Library for Geonames

I’m working on a mobile application demo that relies heavily on the Geonames service and in the process started work on an ActionScript library for accessing the web service that you can find on Github. If you aren’t familiar with Geonames it’s a fantastic project. It’s a database of placenames from all over the world (over 8 million) and each has a bunch of data (including latitude and longitude) about it. The database includes everything from physical features like mountains to schools and parks in cities. And it’s all free.

The API is really basic right now and it only implements the findNearby method but hopefully it’s a start. And I want to round it out as I start to use it for more demos. It’s a really amazing amount of data.

Christian Cantrell shows off one code base running on iPad, iPhone, Android, MacOS, Windows, Linux, Browser

Christian Cantrell shows off one code base running on five difference devices.   Simply fantastic. Full article here

Filed under: ActionScript, Adobe AIR, Adobe Flash Tagged: ActionScript, Adobe AIR, Adobe Flash, AIR, android, droid, ipad, iphone

Example Added for GpxAs3 – The Flash/Flex GPX Library

Last week I added an example file to the GPX library that Simeon and I created for Flex/Flash/AIR applications. If you haven’t seen it and are interested in checking it out you can grab the code from the project page on GitHub.

The example provided is a very, very basic one that just takes a GPX file and plots the waypoints on Google Maps. It’s an AIR application so to use it you just drag and drop the GPX file onto the app. The code is here.

I haven’t been able to do anything cool with it yet, but I have some things in mind once I get a bit of downtime. If you’re using it, I’d love to hear about it.

Flash Bug Report

As has been pointed out by the community, there is an existing crash bug that was reported by Matthew Dempsky in the Flash Player bugbase (JIRA FP-677) in September of 2008 that still exists in the release players. It is fixed in Flash Player 10.1 beta, and has been since we launched the beta in early November 2009.

I want to reiterate that it is our policy that crashes are serious “A” priority bugs, and it is a tenet of the Flash Player team that ActionScript developers should never be able to crash Flash Player. If a crash occurs, it is by definition a bug, and one that Adobe takes very seriously. When they happen, it can be the result of something going on purely within Flash Player, something in the browser, or even at the OS level. Depending on where an issue occurs we work to resolve the crash internally or with our partners.

So what happened here? We picked up the bug as a crasher when it was filed on September 22, 2008, and were able to reproduce it. Remember that Flash Player 10 shipped in October 2008, so when this bug was reported we were pretty much locked and loaded for launch. The mistake we made was marking this bug for “next” release, which is the soon to be released Flash Player 10.1, instead of marking it for the next Flash Player 10 security dot release. We should have kept in contact with the submitter and to let him know the progress, sorry we did not do that. Having that line of communication open would have allowed him to let us know directly that it was still an issue. I intend to follow up with the product manager (or Adobe rep) who worked on this issue to make sure it doesn’t happen again. It slipped through the cracks, and it is not something we take lightly.

The team is actively reviewing all unresolved crash bugs in JIRA and will reach out to the submitter if we need their help. We have been updating JIRA bugs with status when we ship pre-release and release players with fixes, but will be focusing on scrubbing these more vigilantly so the community will be able to get status on their issues earlier. Again, FP-677 is fixed in Flash Player 10.1 beta on Adobe Labs and was made public in a regular bugbase scrub that happened yesterday.

The community is an important part of making Flash Player great, and is one of the reasons why we created the public bugbase in 2007. You have been instrumental in helping us improve the quality and feature set of the runtime, and we are committed to looking into what happened with FP-677 and making the necessary improvements and investments for our part of the relationship. So please download Flash Player 10.1 from Labs and play a role in identifying and reporting issues so that we can live up to our commitment to ship the next version of Flash Player without any known, reproducible crashers.

FITC Amsterdam : Building High Performance iPhone Applications with ActionScript 3

Sorry for the two month hiatus on posting. I was on a sabbatical and vacation from work for the last 6 weeks of 2009, and have spent the first couple of weeks of 2010 busy working on code, and preparing some events for the spring (more on that in another post).
Some of the stuff […]

New MapQuest ActionScript APIs including a new enterprise offering

Early this morning, I added 29 new samples in Tour de Flex that were provided by MapQuest to show off their new APIs.   There are some really cool new capabilities so check them out!
MapQuest is hosting a webinar on November 18th  at 11AM EST and December 2nd at 11AM EST.  To sign up, go to […]

Case Study : ActionScript 3 Performance Optimization

Prompted by some of the work from Grant Skinner (in particular his FOTB 2009 session) and Thibault Imbert, I have been doing a lot of research lately into optimizing ActionScript 3 content. Not just how to make it run faster, but how to approach the process of optimization.
I am also starting to work on a […]

Parsing and displaying BMP files via ActionScript

I dont have a formal computer science training / education, so I never got the chance to learn about working with low level data structures (bits and bytes). I have wanted to learn this for some time, but had difficulty finding resources for it which didnt assume I had a computer science degree.
Well, yesterday, FITC […]