• Follow us on Twitter
  • Join our Facebook Group
  • Join me on Google Plus
  • Add me on Linkedin
  • RSS
New prints available for sale! close

  • Home
  • Articles
    • Artistic Process
    • Software Engineering
      • Android
      • HTML5 & JavaScript
    • Reviews
    • Personal
    • Books
      • Technical
  • Portfolio
  • Store
    • Giclee Prints
    • Your Account
    • Transaction Results
    • Checkout
  • Bucket-List
  • Contact

Archive for month: February, 2007

Singleton Design Pattern

0 Comments/ in Articles, Design Patterns / by admin
February 26, 2007

With over twenty different design patterns available, it was difficult to decide which one to discuss first! After giving it some thought, I came to the conclusion that the simplest and perhaps most useful to a beginner Flash developer is the Singleton design pattern.

The Singleton design pattern is in the creational group of design patterns. If you are ever using _root in your code, odds are you could use a singleton class! The Singleton design pattern makes sure that in an entire application the singleton class is only instantiated one time.

Read more →

Fire Effects with AS2

1 Comment/ in Articles, Flash Platform, Software Engineering / by admin
February 20, 2007

The FireEffect class will takes a MovieClip and uses some complex filter effects to achieve a very basic ‘flame’. In its current form, the flame is just a distorted version of the MovieClip itself. I use a simple orange fire graphic to get the best results. Using an image with a lot of color or texture will seriously slow down the application.

It uses BitmapData, BlurFilter, DisplacementMapFilter and ColorMatrixFilter. Very processor intesive, and not nearly as smooth as Grant Skinner’s Blaze Demo, although to be fair, his was written in AS3. I’m still quite happy with the results.

The FireEffect class takes in the MovieClip and duplicates it over and over again, distorting, blending fading each clip. After a few iterations the duplicate MovieClip is removed. Click here to download the project files and source. It really looks much better when its not running in the browser – I’m doing some research into why this is.

Recent Posts

  • AngularJS: Building My Rotten App
  • JavaScript WebSpinners
  • JavaScript Scope & Closures
  • Introduction to JavaScript’s Prototype Inheritance
  • ADB Not Recognizing Devices on OSX – EasyTether problem

Recent Comments

  • Allison on Minneapolis Events and Adventures Sales Practices
  • Judy on JavaScript WebSpinners
  • MickeyD on Minneapolis Events and Adventures Sales Practices
  • MickeyD on Minneapolis Events and Adventures Sales Practices
  • Andy on Kindle PaperWhite & Whispersync for Voice – The perfect reader companion!

Archives

  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • October 2012
  • June 2012
  • May 2012
  • January 2012
  • October 2011
  • July 2011
  • April 2011
  • March 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • March 2010
  • February 2010
  • November 2009
  • August 2009
  • June 2009
  • February 2009
  • May 2008
  • April 2008
  • March 2008
  • December 2007
  • August 2007
  • July 2007
  • June 2007
  • April 2007
  • March 2007
  • February 2007

Categories

  • Android
  • Articles
  • Artistic Process
  • Design Patterns
  • e-Learning
  • Featured
  • Flash Platform
  • HTML5
  • JavaScript
  • Just For Fun
  • Personal
  • Reviews
  • Software Engineering
  • Speaking
  • User Experience Design

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
All images and content is copyrighted Daniel C. Holth unless otherwise noted. Please don't steal.
© Copyright - d.c.Holth - Wordpress Theme by Kriesi.at