Light.clear() method


This is a test of the Emergency Filtering Network.
santa with transparent background

Click at least twice on the "Lights" button. Then click on "Clear( ) filters". Click again on "Lights".
We succeeded in dumping the accumulated light filters.
This requires 2 steps: 'clear()' and 'enabled=0'.

Previously we accomplished this by manually setting the filters to empty with '' and then to 'light' and then 'enabled=0.'


Syntax and Settings

For example, the "Clear( ) filters" button executes the code:

efn.filters.light.clear();
efn.filters.light.enabled=0;
santa.filters.light.clear();
santa.filters.light.enabled=0;
santa2.filters.light.clear();
santa2.filters.light.enabled=0;

This code won't work without the two parentheses!!

In SCRIPT the general form would be:

object.filters.light.clear();
object.filters.light.enabled=0;

© 1997-2002 Jan Smith   <jegs1@jegsworks.com>