Adobe

LFPUG looking good yet again…

Accessibility was always one of my chief concerns back when my work was XHTML/CSS. Since moving more into ActionScript development it has I’m afraid to say slipped somewhat, relying on the usual approach of Flash site with HTML backup. Niqui’s presentation I hope will help me get back into the habit of integrating accessibility into the process and maybe get away from needing a HTML backup?

The LFPUG presentations 29th March 2007

  • A Usability Approach to Accessible Flash (19:00 – 20:00) – Niqui Merret
  • Lighten up: Rediscovering Fun ( 20:15 – 21:15 ) – Aral Balkan
Posted by creacog in Accessibility, ActionScript, Flash Platform, User Groups, 0 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

a shakey first few moments with 2.0.1

I had a scary first experience with the Flex Builder 2 (2.0.1) Trial on the Mac, after having commenced a project using the Beta…

Before installing, I was aware of the following bullet in the release notes

Opening old Flex projects – The Flex Builder 2.0.1 update cannot open projects that were created with pre-release versions of Flex Builder 2. Flex Builder 2 beta-level projects must be recreated in Flex Builder 2.0.1.

So I zipped a back-up copy of my project files.

On installing and launching 2.0.1, I was suprised that my existing projects seemed to open ok. But ‘cleaning’ the project had the effect of removing the html files. Additionally seemingly spurious errors were generated on compile. The first being 1023: Incompatible override.

I keep my project files on a seperate disc away from the default location. So I deleted the folder and restored just my source files from a zip and recreated the project in builder 2.0.1 – still no joy. In-fact even creating a new application project with only the default stub resulted in errors reported at lines which didn’t exist. (Similar to these reported issues on Flexcoders).

I found the issue to be primarily that the 2.0.1 Builder looks for the same workspace files as the Beta – and they aren’t compatible. The solution…

Rename the existing “Flex Builder 2” folder to “Flex Builder 2 Beta” to accurately reflect the builder that created it. (Just to ensure you can revert to using the Beta if you need to – which I thought would be a likely prospect if my experiment failed) On the Mac:

/Users/username/Documents/Flex Builder 2
becomes
/Users/username/Documents/Flex Builder 2 Beta

(Note: for Flex Builder 2 Beta to pick up it’s workspace again, you need to choose “File>Switch workspace…” from the menu. Not that you’ll want to go back to the beta, once you have 2.0.1 running properly.)

Then when launching the 2.0.1 version, the “Flex Builder 2” folder will be re-created but this time containing a 2.0.1 compatible workspace. You can then start creating projects, porting your old source files as you see fit.

All the spurious errors are now cleared, and proper html files created. So far looking good with improved performance over the beta!

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