POINT_LIGHT_2 in the sample line below is a const relevant to the ID number of the light exported by "Publish SWC" function. You can find all exported pairs CONST<->ID in additional .as file - Esq_scene_el.as in this example.
m_esquimo.SetLightPosition(Esq_scene_el.POINT_LIGHT_2, 0, 2, 6);
The color is passed as integer value from range of 0 - $rrggbb. The sample line below applies a random color to the light whose ID equals POINT_LIGHT_2.
m_esquimo.SetLightColor(Esq_scene_el.POINT_LIGHT_2, 0xffffff * Math.random());
m_esquimo.SetLightVisible(Esq_scene_el.POINT_LIGHT_2, false); // POINT_LIGHT_2 has been turned off.