AS3 Webcam Motion Tracking
Update Ok, you can now grab the MotionTracker source code (AS2 & AS3). Version 2 eventually will include the other methods for detecting and tracking motion which I mentioned. For now I have just...
View ArticleAS2 Array count values
In PHP there is a very useful function called array_count_values. It sorts an array by returning a 2 dimensional array consisting of non duplicate elements as keys, and values determined by how many...
View ArticleDynamic Stacking
Update: AS3 Version using TweenLite is available here In this experiment, you can drag the boxes; when you release them the stack will shuffle to accommodate the dropped box. I have recently been...
View ArticleDynamic Positioning Continued
Following another post regarding using stage listeners to dynamically resize and position MovieClips in Flash, I was asked to upload and FLA as an example. The previous code can just be pasted into...
View ArticleGroup94 Style Menu
I have always liked the neat and compact menu system Group94 often use in their projects. It is really useful for lists or menus and is also of course very elegant. I don’t know how Group94 do it, but...
View ArticleSplitting Strings
I was working on a project recently where I recieved a data feed and needed to split it into sections that would fit into a text box (ie. 200 characters at a time). The user would then click ‘more‘ and...
View ArticleDynamic Positioning
Since fullscreen flash websites have become so popular; this little trick (a necessity really) has been used to make sure that no matter what screen resolution a user has, they can experience the site...
View Article