Thanks to Pixelfumes’ AS3 Reflection class, creating reflections on static images and video clips in Flash AS3 is very easy. However there is a problem that many people find in FireFox on a PC.
- The reflection image will start to randomly flickers.
- The browser’s CPU will run high and in some cases, cause your browser to crash.
To fix this problem, set the update time to -1 (not 0) This will stop the interval from redrawing the same reflection over and over again. Try this:
import com.pixelfumes.reflect.*; var r1:Reflect = new Reflect({mc:mc.thumb_mc, alpha:50, ratio:50, distance:0, updateTime:-1, reflectionDropoff:1});
You can download the latest Actionscript 3 Reflection Class here




Good note! -1 sets the update to not run its interval. The time is also in milliseconds so that 1000 is an update time of 1 second. Thanks.