Archive for January, 2010

Repeating backgrounds in Flex3

Here’s a great way of repeating backgrounds in your Flex containers using Degrafa:

http://bjw.co.nz/developer/flex/83-background-image-repeat-in-flex-3

(If you’re on a mac you’ll probably have issues extracting the Degrafa swc, if you do head here for a solution: http://mattguest.com/archive-utility-annoyance)

AIR SQLite Optimisation

I’ve been working with SQLite quite a bit on my current AIR project and came across this interesting article about how to get the best performance from your AIR app’s SQLite database:

http://www.zedia.net/2009/air-sqlite-optimization-tricks/

Portfolio: EADS . Where We Operate

Flex based office-locator RIA produced for EADS. A multi-lingual application, making full use of the Google Maps Flash API. Powered by a bespoke XML CMS, new locations and offices can be added and removed with minimal effort.

Role: Lead Flex Developer.
Technical: Flex 3, Flash, FlexUnit, XML, PureMVC Multicore, Fabrication, Google Flash API.


Continue reading →

Portfolio: Royal Society of Chemistry . The Design Studio

A joint commission by the Royal Society of Chemistry and Pfizer. ‘The Design Studio’ e-Learning site is specifically targeted at A-Level students enabling them to mimic the processes involved in modern drug testing laboratory and further their studies.

Role: Lead Flash/ZendAMF Developer.
Technology: Flex3, Flash, PureMVC Multicore, Fabrication, ZendAMF Remoting, PHP/MySQL

Live site

promo_rsc_01
Continue reading →

PureMVC/Fabrication Reactors

While working on an AIR application recently, (built using PureMVC Multicore & Fabrication), I had the need to swap different instances of a view component within the one mediator.

Swapping them over is easy enough:

myMediator.setViewComponent( instanceOneComponent );

The only problem is if you are using “Reactions” to handle your ui events you’ll notice they no longer work. Continue reading →

Debug AIR applications with Charles Proxy

Here’s a little trick to allow Charles Proxy to debug your Adobe AIR AMF-based applications whilst developing on your localhost.

Continue reading →

ZendAMF, beyond the bootstrap. Part2

In the last post we set up the groundwork for our application. Now let’s start building our Zend MVC application and hook it up to a MySQL database.

Database

Use the SQL code below to create the F1 Drivers table we’ll be accessing later on.

CREATE TABLE `f1_drivers` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(250) default NULL,
`team` varchar(250) default NULL,
`points` float default NULL,
PRIMARY KEY  (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
INSERT INTO `f1_drivers` (`id`,`name`,`team`,`points`)
VALUES
(1,'Jenson Button','Brawn-Mercedes',21),
(2,'Rubens Barrichello','Brawn-Mercedes',15),
(3,'Jarno Trulli','Toyota',8.5),
(4,'Timo Glock','Toyota',10),
(5,'Nick Heidfeld','BMW Sauber',4),
(6,'Mark Webber','RBR-Renault',9.5),
(7,'Sebastian Vettel','RBR-Renault',10);

Continue reading →