Let's see it may useful, very beautiful effect.
Click to browse this file
1. Create a new MC, draw a "light" similar to this, very simple
2. In the first frame, input AS:
_Quality = "low"
Function Go () {
Nowy = attachmovie ("MC", "M" A, 10 A)
nowy._x = 200
Nowy._y = 150
nowy._alpha = 30
Nowy._Rotation = Random (360)
Nowy._xscale = nowy._yscale = 40 random (100)
nowy.onterframe = function () {
THIS._ROTATION = Math.sin (this.z =. 3) * 4
THIS._XSCALE = this._yscale = math.sin (this.o =. 2) * 10
THIS.COL = New Color (THIS);
THIS.COL.SETRGB (127 * math.sin (this.r =. 8) 128 << 16 | 127 * math.sin (this.g =. 2) 128 << 8 | 127 * math.sin THIS.B =. 1) 128);
}
A
IF (A> 30) ClearInterval (ID)
}
VAR ID = SETINTERVAL (Go, 250)
3: Ctrl Enter, finished, very simple