latest posts

A botched delivery

Almost a month ago today, I was in my client’s office YellowPages Group. I was delivering on a module that would allow the integration of “conversation” as a means of communication in their apps. They called it the Tinder module; I call it Converse. I was such a mess, so reacting, afraid to deliver, afraid…

more
May 7, 2015
mlegris
A day trip to Whiteface Mountain (Vermont)

A day trip to Whiteface Mountain (Vermont)

Yesterday I went hiking at Whiteface Mountain (Vermont) with my friend Yann. It is about 2hrs drive from Montreal, and we left pretty early. Got surprised that the Champlain bridge was closed, had to do many detours; and it was raining a bit when we got there but thankfully as we got closer rain became…

more
October 20, 2014
mlegris
Mexico Airport isn’t pretty

Mexico Airport isn’t pretty

Salut, Mexico airport isn’t exactly pretty, I mean I think they tried. It is situated on a hill, with incredible views on each side, but you can’t see much of it unfortunately. It has an open air concept which is quite appealing, I like the ‘idea’ behind it, but the execution is probably similar to…

more
September 18, 2014
mlegris

Flurry API in Mono for Android

Hi Everyone, We have been using Mono for Android at Taste Filter since may. I love coding in C#, it is much faster than coding in Java with all the shortcuts (events, delegates, actions, etc). Mono for Android is generally very good too. One thing that is lacking, is the amount of Bindings available for…

more
November 14, 2012
mlegris

The Notman House Project

First this is purely and entirely my own opinion. If you go over to the project’s website, you get this little summary: “Built in 1845, Notman House is a historic landmark property located at the intersection of Montreal’s downtown core and creative Plateau neighborhood. It has, thanks to the community’s role, become a beacon to…

more
October 24, 2012
mlegris

Tutorial – Creating a reusable Slider Control / Component

Hi Everyone, Today I will cover the subject of creating a reusable slider control which takes two bitmaps as resources. The thumb bitmap will slide on the rail bitmap. It is a very simple concept! We will basically take this image: and this one: and make this (try it, move that knob): In fact, the…

more
December 14, 2009
mlegris

Tutorial – Multi Touch in AS3 / Flash Player 10.1 – Part 2. TouchEvent & MouseEvent Sequences

Hi Everyone, In this installment I will cover the TouchEvent and how it is intertwined with MouseEvent. First you need to understand that touches will fire MouseEvent‘s too. You will get a TouchEvent first, then a MouseEvent. This can prove annoying in some cases, and good in others. For the complete listing of TouchEvent‘s as…

more
December 13, 2009
mlegris

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

Hi Everyone, this is a follow-up to the following posts: Part 1 Part 2 Part 3 In this post, I will add code to identify each request uniquely, give you a class called “AbstractClient” that will handle most of the mechanics and is easily extended. The idea is to give you a base on which…

more
December 11, 2009
mlegris

SWF TextField Factory — Dynamically Loading Fonts in AS3 using Flex SDK 3.4

Hi Everyone, it has been a long while since I wrote! Been busy. Now I have some time and the first thing I did is to get away from the Flash IDE completely. I had been waiting to be able to debug directly in FlashDevelop for a while, tried some extension that didn’t work, then…

more
December 10, 2009
mlegris

Study – The Video Players of Social Networks (YouTube, DailyMotion, Veoh, Vimeo, GoogleVideo, Flickr)

Hi Everyone, I am doing research on which video player I can easily embed inside of an AS3 application. I had these players in mind: DailyMotion, Vimeo, Veoh, Youtube, GoogleVideo, and the DivShare player as a fallback. Right of the bat, the following players are still in AS2: YouTube DailyMotion DivShare GoogleVideo While these are…

more
July 3, 2009
mlegris

YouTube AS3 Wrapper for the ChromeLess Player

Hi Everyone, I was toying around today to get a youtube video to play the “legal” way. Quite honestly using the little KeepVid client I made and FLVPlayer, it works fantastic.. but yeah, it isn’t legal. So after a few hours, I found a wrapper that works.. You can see it in action here.

more
June 1, 2009
mlegris

Tutorial – Creating Custom Components (Visual Controls) in pure AS3 – Part 1

Hi Everyone, Looking back at the last 4-5 years I spent developing Flash widgets & applications (again, I do NOT participate in marketing efforts.. so no micro-sites or bogus games for me) I realize that one of the core abilities of a good Flash application developer is his ability to develop components from scratch. The…

more
May 29, 2009
mlegris

Tutorial – Implementing your own CallLater function is AS3 (Flash or Flex)

Hi Everyone, Although I am not a big fan of the CallLater function in Flex’s UIComponent, I must admit that it is sometimes handy. Here is how you can implement your own CallLater function, this code can be incorporated inside of any class, enabling you to add functions that are called after the current thread…

more
May 27, 2009
mlegris

Tutorial – addEventListener code completion in Flash Develop

Hi Everyone, in one of the recent releases of FlashDevelop they added a wonderful feature which lets you see what events are dispatched by the objects you are using. This is done through some meta tags inside of the class declaration and the result is very valuable. It looks like this:

more
May 24, 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 – 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

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
1 2 3