To set the Flare effect on the NormalObject State for a Button object named Option1 with a flare height of 5 pixels and width of 3 pixels, the colour yellow, a 50% transparency and a blur of 3 pixels, use the following syntax:
MyColour = RGB(253,250,0)
Option1.SetFlare(5,3,50,MyColour,3)
To set the same Flare effect as Example 1 above on the Mouse Over Object State for a Button object named Option1, use the following syntax:
MyColour = RGB(253,250,0)
createEffect = Option1.GetAppearance("Mouse Over")
createEffect.SetFlare(5,3,50,MyColour,3)
see also:RemoveFlare, RGB and GetAppearance