Tutorial – Using Google Analytics to track activity inside of a Flash or Flex AS3 application

Hi Everyone,

do you develop complex AS3 applications and wonder how people interact with them? You could build yourself a webservice to which you would send event details, but then how would you visualize the data?

The answer can be quite simple. Continue reading

FlashDevelop 3.0.0 Beta 6 is out!

Hi Everyone,

A side-note to start, I have been developing software for over 12 years. I started in C, then came C++, Java (6 years), C#, PHP, the whole shabang. Overall, the best IDE I’ve ever used is Intellij Idea. It is simply brilliant, or used to be some 5 years ago. It introduced Refactoring before anyone else, cleaned up your code for you, removed excessive spaces, just made everything tidier.

Although I consider Eclipse to be a good choice, especially coupled with FDT from PowerFlasher, Eclipse is bloated. Intellij Idea used less than 30 mb of RAM way back then, and I consider an IDE should never use any more than 50 mb of RAM, even for the most complex projects.

FlashDevelop is a brilliant alternative. It has gotten significantly better this last year, with true AS3 support, incredible auto-complete, auto-import and now even setter/getter generation built-in. I has a RegEx panel too, I think that one is a plug-in tho.

Basically Mika & Philippe are doing an amazing job. Plus it’s FREE.

Click here to download!



Youtube Data API AS3 – YouTubeClient functions & associated events.

Hi Everyone,

Before I begin, these are past posts on the same subject:

and the API can be found here: http://code.google.com/p/as3-youtube-data-api/

Today I will describe what events are associated with each YouTubeClient function call. I will also describe which Feed / Data Object is passed inside the said event. Please note that :

  • Events are in the ca.newcommerce.youtube.events package
  • Feeds are in the ca.newcommerce.youtube.feeds package
  • Data Obects are in ca.newcommerce.youtube.data package

Continue reading

Youtube Data API AS3 – First Tutorial

Hi everyone,

In this tutorial I will demonstrate how to use the YouTube Data API AS3 Library to:

  • search for videos using a keywords, categories and tags;
  • demonstrate how to distinguish between feeds returned to you by the API by using the requestId;
  • get information from the result feed, in this case a VideoFeed object. We will get the video, it’s main URL, then go through the different thumbnails available for a specific video.

Continue reading

Getting around the crossdomain.xml file when loading images in as3

Hi Guys,

I recently had to load images on from a website that doesn’t contain a crossdomain.xml file. Although it works fine in the authoring environment, it’s quite a pain in the butt when you put it live on a website, suddenly those images don’t show up, or you can’t manipulate them..

The problem arises when you try to access the “content” property of your “Loader” object. It throws a SecurityError.

The solution is quite simple.
Continue reading

YouTube Data API ActionScript 3

Hi Everyone,

so after a little research I found mostly outdated YouTube API’s out there. Even the ones on Adobe Labs refers to the pre-Google version of the YouTube API, which required a Key which you can’t get anymore.

So I set on a journey, a journey to build the AS3 Client Library for the YouTube Data API. 13 hours and 37 classes later, I’m about 90% done. I hardtyped everthing to make it completely auto-complete friendly. You have data-specific Iterators which spit out specific data objects, you have feeds, events, everything is a bit overkill but it makes it so you can explore everything from the auto-complete.
Continue reading