Fluorescent Ballast and Neon Flicker + Across The Hall Movie
Posted: November 23, 2009 at 9:03 pm
Just completed a rush project for the film Across The Hall. Being that this is a noir styled film, I came up with a simple class that emulates the effect of sign letters turning on. Could work for Fluorescent lights as well as other stuff. Easiest way to use it is to link the MovieClip in your library you intend to export and point the base class path to FluorescentBallastFlicker.

Then in your code, instantiate and attach the MovieClip to your DisplayObject and the MovieClip will automatically set its alpha to 0 and will be ready to turn on.
The turnOn() method takes the arguments; seconds of turn on time, seconds of delay, and an optional callback function when the effect has finished.
_hSign.turnOn(1, 0); _oSign.turnOn(2, .5); _tSign.turnOn(2, 1); _eSign.turnOn(2, 1.5); _lSign.turnOn(2, 2); _riverview.turnOn(2, 2.5, startSite);
Once the item is on, you can use the badBallast() method to emulate a loose connection. The lower the number the more frequent the flickering.
_hSign.badBallast(100);
Download Fluorescent Ballast and Neon Flicker Class Source Code!