This occurs as the SWF frames are encountered sequentially within the SWF file. Other JavaScript functions can be provided and called from within the cycleframes functions that perform colour transformations on objects etc. This can be obtained here . Also note that the files do not view properly under Netscape, use IE if possible. Those files marked with an asterisk have had some minor alterations made where elements where the colour transforms are necessary in order for the graphic elements to be visible.
Some problems still remain.
As the animation progresses, a shape such as this may be manipulated through the DOM to draw any kind of parallelogram, the colour of which may also be altered through the a colour transformation matrix. Unfortunately, due to the inheritance properties specified in SVG, JavaScript control of the colour of shape 15 will not work in this case. This is because the fill colour is defined in a path definition inside the group definition through which the shape is identified. If this is the case, the colour of shape 15 can be changed from blue to green if desired. In reality, if a blue square was required it is likely that no colour transformation would be applied to the instance of shape 15 as the fill colour for the path has already been specified as blue.