![]() |
![]() ![]() |
FieldSweeper component version 1.0
particleInstance.particleCrossed();
None.
Nothing.
Event; this function is called on each particle instance in the field as it is crossed by the sweeper or the mouse. It is only called if crossReaction is not set to play. You can use this function to apply a custom reaction to your particles.
The following code sets up the function for cross reaction. Place this code in your particle class or timeline ActionScript of the particle movie clip:
function particleCrossed()
{
// Do something interesting for this particle
gotoAndPlay(3);
}
![]() ![]() |
|