Hey guys...I'm trying to write a function or class (.as file) if possible that will toggle the flickering of a movieclip. I want it to have the same effect as a fluorescent lightbulb. I would like to be able to control the flicker. If it's an AS file, im not to familiar at writing AS code, but if you could comment that would be great (like where to change alpha values and stuff). If it's a function, I was thinking of passing it these params. flicker(0); // 0 for, flicker off motion, and 1 would mean flicker on motion.
I can just animate manually then play certain frames of a movieclip to achive this effect, but I would like to see if it's possible as a function or AS file so I can reuse it easily on different movieclips.
Any help would be great.