latest posts

TUTORIAL – Creating AS3 Components using fl.core.UIComponent

Hi Everyone, Just a short link, for those who want to create components that will appear in the Components panel and respect styling rules as per the Flash CS3 / CS4 component architecture. Here is how to create them!! This text is LENGTHY and should help people of all levels. http://www.adobe.com/devnet/flash/articles/creating_as3_components.html Cheers! Martin

more
April 6, 2009
mlegris

Custom Filters in AS3

Hi Everyone, Well, this is a short post; I know I have been busy lately (have been teaching AS3 quite a bit, which is fun, at Loto Québec and Canoe.ca) + work on the regular contracts. Anyhow, this to say that I have a lot of material I wish to write about, and hopefully next…

more
April 1, 2009
mlegris

Tutorial – Google Analytics (Event) Tracking for Flash / Flex

Hi Everyone, as of sometime in November, Google has released a AS3 module that enables communication directly with Google Analytics, w/o the constraints of passing through Javascript. This combined with the imminent public deployment of Event Tracking, makes for a very exciting combination indeed! This post is a follow-up to a previous post: Using Google…

more
January 9, 2009
mlegris

Tutorial – AS3 & REST web services with RESTProxy – Part 1

Hi Everyone, [UPDATE Jan 19th, 2008] I’ve just modified RESTProxy.php to handle gzip encoding from the client-side. It was quite simple. I was trying to consume web services on Discogs.com and it requires that you accept gzip encoding.. a while back, almost a year ago now, I published a little package of code called RESTProxy….

more
January 5, 2009
mlegris

Last.fm Web Services v2 & YouTube GData Web Service & KeepVid Mashup

Hi Everyone, I whipped up a little application that finds an artist on Last.fm, gathers his top tracks. Then you can select a track from the list and it will play the first video that matches the search on YouTube. It was just for fun, again proof-of-concept for a much more interactive application I have…

more
December 27, 2008
mlegris

Using FLVPlayer & KeepVidClient together

Hi Everyone, here is a sample for these posts: Tutorial – Playing FLV video in plain AS3 (part 1, part 2, part 3) Library to get direct access to YouTube & Vimeo FLV’s in AS3 Simply paste the URL of a “watch” page on Vimeo or YouTube (browse to the video you like, copy the…

more
December 25, 2008
mlegris

Library to get direct access to YouTube & Vimeo FLV’s in AS3

Hi Everyone, this is a … hrmm … not very legal thing to do. However I need this for a personal proof of concept so I thought I would make it available to the public. Basically I am using KeepVid‘s website to grab a URL to the FLV’s from Vimeo and YouTube. This means you…

more
December 25, 2008
mlegris

Tutorial – Creating Custom Flex Components – Skins & CSS Styles

Hi Everyone, over the span of the next 6 weeks I will be creating 2 custom flex components for Verizon Wireless’ MediaStore. One will be a data grid which is meant to be faster and custom fitted to their needs, and another one is to display search results. Right now, I am at the exploration…

more
September 27, 2008
mlegris

Tutorial – Playing FLV video in plain AS3 – Part 3 (Updated)

Hi Everyone, it’s been a while.. a long while. I have been selling my time to Adobe, doing Flex work with a great team in NYC; we are working on the MediaStore for Verizon Wireless since July 21st? I forget.. NYC is nice, but not for me. I’m a nature lover! A few people posted…

more
September 24, 2008
mlegris

AS3 – Yahoo Spelling Suggestions

Hi Everyone, this is a quick post on getting spelling suggestions from Yahoo. I created a tiny client, (Singleton). It dispatches 2 events: YahooClientEvent.SPELLING_SUGGESTION_READY — when the suggestion is ready YahooClientEvent.SPELLING_SUGGESTION_FAILED — when the request failed

more
July 8, 2008
mlegris

AS3 – RealNetworks Rhapsody Web Service – Artist Search

Hi Everyone, A few years ago Real Networks launched some webservices that you can use to find artists, tracks and the like. Although their license is quite limiting, you can view their SDK Documentation here: http://webservices.rhapsody.com/rwssdk/rwssdk_v1_5.pdf the main website being here: http://webservices.rhapsody.com/.

more
July 8, 2008
mlegris

Getting data from hosts that require HTTP Authentication with URLRequest in AS3

Hey Everyone, just a quick note on getting data from a host that requires HTTP Authentication.. First: It seems to only work with POST If your server is in PHP (probably other languages too), GET or POST is the same thing, doesn’t matter. You can have bogus post data and still pass GET data in…

more
June 13, 2008
mlegris

Tutorial – Playing FLV video in plain AS3 – Part 2

Hi Everyone, today I will continue on this topic: Tutorial – Playing FLV video in plain AS3 – Part 1 and the following installments are here: Tutorial – Playing FLV video in plain AS3 – Part 3 Tutorial – Playing FLV video in plain AS3 – Part 4 – Sample Usage In the first part…

more
June 10, 2008
mlegris

Tutorial – Playing FLV video in plain AS3 – Part 1

Hi Everyone, today I will explain how to play .FLV files that are hosted on a standard HTTP server, no fancy streaming. You can use pre-made components to do so, but sometimes, for whatever reason, you want to do it yourself. I wrote my first FLV playing algorithm in AS3 about 10 months ago, it…

more
June 3, 2008
mlegris

Tutorial – Consuming REST web services in ActionScript 3 – Part 3

Hi Everyone, This is the third installment of the series, you can find the first two here: Part 1 – http://blog.martinlegris.com/?p=87 Part 2 – http://blog.martinlegris.com/?p=90 Today I will develop on the data handling once the data is received from the webservice calls. I will describe some methodologies I’ve developped that help mainstream data handling by…

more
May 31, 2008
mlegris

Getting around AS3’s un-RESTful-ness

Hi Everyone, [UPDATE Jan 19th, 2008] I’ve just modified RESTProxy.php to handle gzip encoding from the client-side. It was quite simple. I was trying to consume web services on Discogs.com and it requires that you accept gzip encoding.. The source has been modified. Mise en situtation for those who have been following the development of…

more
April 22, 2008
mlegris

Tutorial – Consuming REST web services in ActionScript 3 – Part 2

Hi Everyone, the first part of this tutorial can be found here: Tutorial – Consuming REST web services in ActionScript 3 – Part 1. Today I will continue on the exploration of consuming REST web services in ActionScript 3. We will cover possible errors first, then create a versatile web service client object which is…

more
March 14, 2008
mlegris

YouTube Data API – new rollout

Hi Everyone, YouTube released a few days ago a new version of their data API. You can now interact with the system; you are no longer limited to simply retreiving publicly available information. You can now Add, Remove and Modify Favorites Create, Modify and Delete Playlists Add To, Remove From and Reorder Playlists Upload, Delete…

more
March 12, 2008
mlegris

Tutorial – Consuming REST web services in ActionScript 3 – Part 1

Hello Everyone, today I will discuss the method I have developed to consume RESTfull web services using AS3. This method was developped over time, I have written many different web service clients since last summer, about 20 of them; for different web services. Some of them require no parameters at all, some of them require…

more
March 4, 2008
mlegris

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.

more
February 24, 2008
mlegris
1 2 3