Creating your first alphaMod
Start with the "a-base.fla" file, included in the
flare[x] download. alphaMods are not all that difficult to use. The general premise for using alphaMods is a two frame actionScript loop that mathematically calculates a new value for a lensFlare's alpha. The simplest example would be
_parent:setAlpha(100); , which would be written in the actions on frame 7.
When creating an alphaMod, if you need to initialise any variables it is recommended that you add them to the code on frame 1. The correct frames to adjust are shown below.