In my swf, I have the following function sweepy which i call repeatedly to have a black rectangle continually move left to right:
import mx.transitions.Tween;
easeType = mx.transitions.easing.None.easeNone;
var begin = -160;
var end = 110;
var time = 2.85;
var mc = blue;
sweepy=function(){
sweepTween = new mx.transitions.Tween(mc, "_x", easeType, begin, end, time, true);
blue.swapDepths(2);
}
Strangely, the rate at which the rectangle travels across the screen is different between just viewing the swf and seeing it within the published html page. It moves much slower when viewing with the browser until after about 2 minutes, then they move at the same rate. Any clue what’s the cause?