Advanced Actionscript Tutorial – The Abstract Factory Design Pattern

Although it wasn’t always the case, these days a good understanding of object oriented programming principles and the use of common design patterns are essential in order to become a successful Actionscript developer. When we’re working on projects, the Head First Design Patterns book is never far away – and one of the patterns that has been incredibly useful time and time again is the Abstract Factory and variations thereof, so I thought we’d dedicate a YouTube tutorial to it.

I’d love to hear about your own experiences in regards to object oriented programming in AS3 – please leave a comment!

The material in this blog post and in the video is an excerpt from our Advanced Actionscript 3 (Object Oriented Programming and Design Patterns) training course.

You can watch the video and read up on the details after the break.

(more…)

Using XML with Actionscript 3 – Tutorial now on YouTube

Are you uncertain of how to use XML data in Actionscript 3 and Flash? If so, you’re in luck because we’ve just uploaded a brand new Flash tutorial to YouTube. It comes in two parts and guides you through how to load and use XML data in Actionscript 3. In particular, the tutorial works with an RSS feed – but of course the techniques apply to all types of XML data.

Here are some of the points covered:

  • loading an XML file in Actionscript 3
  • extracting particular data from the XML file
  • extracting lists of tags from the XML file
  • working with namespaces
  • using filtering expressions

It’s all pretty straightforward once you’ve mastered the technique – come and take a look.

View the videos after the break – or simply visit our YouTube channel.

(more…)

Intel GameOn video/image gallery now live

The newly developed Intel GameOn site has now gone live – and with it the two Flash components that I developed for it.

Both components are used extensively throughout the site to show pictures and videos related to particular games, articles and other content.

Read further details on the updated portfolio page.

Crossdomain Flex and Flash SOAP Webservice access

Here’s a quick guide on how to get crossdomain access working for SOAP Webservices from Flash and Flex. Obviously you need to allow access to the domain, however it’s more difficult to realise that you also need to allow the SOAP headers to be sent to the foreign server.

Here is an example crossdomain file that does just that – amend to suit your own requirements, the * wildcard is probably not what you need for your production server.