If you do not want the Flare to stay, you can just set the text up so that when it's clicked the flare appears. Look under the Properties tag and choose Mouse Pressed, then click on the Effects tab and set your Flare the way you want.
You can read about doing this with scripting in the OpusScript Help file:
SetFlare()
Example 1:
To set the Flare effect on the Normal Object 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)
Example 2:
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
_________________ Opus Pro XE 9.1 Win7 64-bit Core i3 8MB RAM
|