![]() |
![]() ![]() |
FieldSweeper component version 1.0
instance.eventType
Property; A string enumeration indicating which event causes a reaction by a particle when it is crossed. Can be mouseOver, mouseOut, sweeperCrossOn or sweeperCrossOff. See the crossReaction property for information about what happens when a particle is crossed.
mouseOver : trigger reaction when the mouse enters a particle.
mouseOut : trigger reaction when the mouse leaves a particle.
sweeperCrossOn : trigger reaction when a sweeper movie clip crossed a particle.
sweeperCrossOff : trigger reaction when a sweeper movie clip leaves contact with a particle.
The following code sets the event type to trigger reactions when a sweeper crosses.
myFieldSweeper.eventType = "sweeperCrossOn";
![]() ![]() |
|