Flex

apollo book available for download

“Apollo for Adobe Flex Developers Pocket Guide” available to download here.

Includes a link to get it from Amazon. Personally I prefer to have the printed document at my side. This book at 108 pages, is just about small enough to print at home, and with 2up full duplex I get four document pages per sheet of A4. However without introducing some scaling, you will end up with tiny text surrounged by huge white margins.

Which brings me to something of bug-bear with Adobe Reader on the Mac. It doesn’t allow me to do a sensible print preview. Nor does it give me the level of control over the print that I require. Fortunately this book renders correctly in Apple Preview. From which setting scale to 140% in page setup, then printing layout at 2 per page, full duplex gives me good results!

So all that remains is to get hold of the Apollo alpha. Watching this space. (Update: download now available)

Posted by creacog in Apollo, Flex, Mac OS, 0 comments

apple update includes flash player (9.0.28)…

If, as suggested by JD’s post, the latest Adobe Flash Player will continue to be included in Apple System updates, this can only be a good thing for shoring-up and keeping the installed base current.

Unfortunately this morning’s update trampled over my debug player (already at version 9.0.28) replacing it with the standard plug-in. This is going to hit loads of developers similarly. It would be nice if Apple could add a rule to the updater to respect the presence of the debug player. That said, it isn’t a big deal to simply re-run the player’s installer from the Adobe Flex Builder 2 ‘Player’ folder.

Posted by creacog in Flash Platform, Flex, Mac OS, 7 comments

new SWFObject (1.5)

As you will know from my earlier post, I generally consider using SWFObject to be best practice for embedding Flash in a web page. It has recently been updated to version 1.5: Release note.

It is probably also worth noting that while the present is SWFObject, the future will be SWFFix. Lead by Geoff Stearns (SWFObject) and Bobby van der Sluis (UFO).

Update (14/03/2008) : SWFObject 2 released.

Posted by creacog in Flash Platform, Flex, Javascript, XHTML/CSS, 1 comment

jam in the jar

JamJar is an Adobe project which I must admit passed me by. It has been on Labs since July 2006, and predates my interest in Flex.

This is an on-line collaborative “shared paper’ application developed by Adobe as a proof of concept. It works and is pretty neat. Anyone who has an Adobe ID can launch and use it from the labs page – no fee, but there are some Google Ads.

As the PDFs describe, it has had a long gestation (pre-dating the MacroMedia aquisition) and was ultimately developed using Flex 2. While the documents make reference to the “jamjar SDK”, and present a tutorial for creating a “Hello, World” widget, there is no indication if or when the SDK will actually be released.

This app is great as proof of concept which Flex developers may use themselves to whet the appetite their clients. However as it stands developers will find themselves building similar functionality from scratch. I think this is something of a wasted opportunity, reulting in a lot of re-inventing of the wheel. This application must be packed full of potential rich source material for Flex tutorials.

Reading between the lines, the team have a number of areas they’d like to develop further, but as it appears not to have been updated since July 2006, I am guessing the project has stalled? Perhaps it is time to OpenSource it? At the very least, publishing some of the design documents if not the actual source would be of value to anyone considering developing an application along similar lines. I guess there’s no point really in releasing the widget SDK unless the whole thing is going to be released as an installable application?

Posted by creacog in Flex, 0 comments

lfpug again 22nd Feb

Looks again like two good presentations tonight at the LFPUG in London…

  • Smoke, Fire and Water – Creating Realistic Procedural Bitmap Effects (19:00 – 20:00) – Alias Cummins
  •  Apollo: The unofficial WTF ( 20:15 – 21:15 ) – Dan Thomas

Unfortunately work commitments are going to keep me away, but I’ll have my fingers crossed that the live feed will be in operation, and I will be snooping in.

Posted by creacog in Apollo, Flash Platform, Flex, 0 comments

Flex Builder 2 UK Pricing – Groan

For a company that is so good technically and creatively, I am dissapointed by Adobe’s pricing policy to customers in the UK. I don’t necessarily expect the UK price to be set directly relative to the US price, but the UK mark-up seems to me to be excessive. I think the following facts speak for them selves (Flex Builder 2 with Charting)…

  • Before tax, UK price is US price +29%
  • US online store price $749 before tax
  • Current $:£ = 1.9744 translates this price to equivalent of £379.36
  • UK online store price £489 before VAT
  • Therefore a pre-tax Markup of £109.64 or 29%.
  • Equivalent US Price would be $965.48

The explanation:

The price of software in EMEA (Europe, middle East and Africa) reflects both the additional expense to develop and test Adobe’s applications for local markets and operating systems, as well as for the delivery of complimentary Warranty support.

On top of the base price, EU customers have to pay VAT. Most businesses can claim this back, but smaller companies and individuals cannot. The VAT rate in the UK is 17.5%, and there is this little gem for UK customers of the UK online store…

The store indicates VAT inclusive prices for the shipped boxed product at £574.58, and the download actually more expensive at £591.69.

The explanation:

Since our server is based in the Republic of Ireland where VAT is charged at 21% our downloads are more expensive than boxed goods which are shipped locally from the UK

Priceless!

Back to the main issue of pricing outside the US, of-course I am not the only one to notice this, and Adobe are not the only company to operate this way as the articles published here describe…

Posted by creacog in Flex, 5 comments

as3cb errata

Don’t get me wrong, ActionScript 3.0 CookBook is damn good, and one of the few AS3 books published to-date. However it is a first edition and does contain errata – probably due to having been written against an alpha or early beta version of Flex2 / AS3. I reported those I had found to O’Reilly some weeks ago, but at time of writing this article they have yet to be published to the errata page.

In future any significant errata I beleive I have found in any book (where the publisher has yet to make them available) I will report on this blog under the tag errata so anyone wondering why certain things don’t work, stands a chance of finding them with a Google.

1. Incorrect description of graphics.lineStyle()

This error is present throughout chapter 7. On page 182 the thickness parameter is described as having a default value of 1. Throughout chapter 7 code samples use the line:
sampleSprite.graphics.lineStyle()

I believe this line should read:
sampleSprite.graphics.lineStyle( 1 )

As from the Adobe documentation:

thickness:Number — An integer that indicates the thickness of the line in points; valid values are 0 to 255. If a number is not specified, or if the parameter is undefined, a line is not drawn.

Therefore using lineStyle as presented in as3cb will result in no line being drawn where a line of 1px thickness was intended.

2. doubleClick description

Not really errata, but the following would have benefited from one crucial extra piece of information:

Page 169, the description of doubleClick.

Generated when the user presses and releases the mouse button twice in rapid succession over the interactive display object

The above quote is true, as long as the developer has previously set the doubleClickEnabled property of the interactive display object to true. If not, no doubleClick event is fired. Considering the target audience of this book – quite an important point to mention.

3. ColorTransform

Pages 76 and 77

With regards to the ColorTransform instances, the code samples make reference to an ‘rgb’ property. No such property exists. The property the author is intending is ‘color’ which returns an rgb value represented in type uint.

Posted by creacog in ActionScript, Flash Platform, Flex, 4 comments