![]() |
![]() ![]() |
FieldSweeper component version 1.0
instance.sweeperInstanceNames
Property; an array of instance names of movie clips on the stage to be used as 'sweepers'. Sweeper movie clips usually move or animate in a way so that they cross the field of particles, which set off the reactions of each particle. The component looks for these clips starting with its parent, and moving upward in the parent chain until it finds them. If you need to place the sweepers somewhere else, set them in code with the sweepers property.
The following code sets the sweepers.
myFieldSweeper.sweeperInstanceNames = ["sweeper1", "sweeper2"];
![]() ![]() |
|