Flash Video Player

Posted: April 26th, 2010 | Filed under: AS3, Flash | 4 Comments » Clearly inspired by HULU, I set out to recreate it’s video player with some small improvisations here and there. After I built it, I decided to make it something reusable on a blog or wherever you’re going to need video content. Add it to your site with a few changes to the Object’s parameters in the markup (provided in source). If you need to change the visual elements or functionality, the ActionScript is provided as well. Except for a few elements, most of it is built with the Drawing API. more »


Native 3D Flash Interface

Posted: February 2nd, 2010 | Filed under: AS3, Flash | 3 Comments » Little experiment with native Flash 3D. I had been playing around with Papervision and needed a simple way to deal with a single element of an application as a 3D object. I found Flash Player 10’s matrix3D adequate for this purpose. Papervision requires a lot of processing power and longer compile times. If you’re working with Flex, you’ll need to have the most recent SDK that compiles to Flash 10. Using native 3D is an easy way to add 3D to your projects by simply applying matrix3D properties to your elements. more »


Bare Bones Flash MVC

Posted: January 31st, 2010 | Filed under: AS3, Design Patterns, Flash | No Comments » It’s nice to have a simplified version of an MVC architecture to start a new project with. Those familiar with MVC (Model, View, Controller) know that it’s a very scalable architecture and a great way to separate your data from the visual assets of your site, then allow the controller to interface between the two. Those unfamiliar will enjoy how well it allows the data, logic and view to work with each other in an encapsulated way. more »


Add/Subtract Items from an Array

Posted: January 31st, 2010 | Filed under: AS3, Flash | 6 Comments » Here is something I used for a sorting/filtering application. I needed a way to add and remove items from an array and have the button know whether or not it had been added. When a button is clicked, the event handler sends a boolean property to the clicked button setting it as added or not added. Because the button stores that property, when you click the button it can toggle it’s properties in and out of the array based on whether or not it has been added. more »