Jump to content

Internet explorer stutters more than other flash players

- - - - -

No replies to this topic
Internet explorer stutters more than other flash players
I am trying to do a firework game using Flash and noticed that Internet explorer stutters more than other flash players. Anyone observed the same thing and is there anything to be done about.

I hope people on this site have experience with this problem, google search isn't yielding an answer.

I modified a tweenlite example to show problem. I used the tweening-speed-test example from http://blog.greensoc...ing-speed-test/.

Changed the tween function in TweeningSpeedTest.as to make stars move back and forth across screen. Also add the Linear Ease as import. See code below ( I couldn't attach SWFs or AS files as attachments sorry)

To test use the parameters instances=10, duration=3, that results in a few stars moving 150pixels/sec which shows the problem the most. Just watch a moving star closely in each player and you will see Internet Explorer stutters longer and more frequently than other players.

Any help would be appreciated. Thanks
private function tween(star:Star, progress:Number):void {
			
			star.scaleX = star.scaleY = 1;
			var random:Number = Math.random();
			var angle:Number = random * Math.PI * 2;
			var destx;Number;
			var desty:Number;
			var loc:Number = Math.random();
			
			//start
			if (loc > 0.75) {//upper left
				star.x = Math.random()*20; 
				star.y = Math.random()*20;; 
			} else if (loc>0.50) {//upper right
				star.x = 440+ Math.random()*20; //center
				star.y = Math.random()*20;; //center
			} else if (loc>0.25) {//lower right
				star.x = 440+ Math.random()*20; //center
				star.y = 440 + Math.random()*20;; //center
			} else {//lower left
				star.x = Math.random()*20; //center
				star.y = 440+ Math.random()*20;; //center
			}
			var loc:Number = Math.random();
			//destination
			if (loc > 0.75) {//upper left
				destx = 0; 
				desty= 0; 
			} else if (loc>0.50) {//upper right
				destx = 480; 
				desty= 0; 
			} else if (loc>0.25) {//lower right
				destx = 480; 
				desty= 480; 
			} else {//lower left
				destx = 0; 
				desty= 480; 
			}
			
			_curTest.tween(star, 									//target
						   this.duration_ns.value, //duration
						   destx,			//x
						   desty,			//y
						   1.1, 									//scaleX
						   1.1,									//scaleY
						   random * rotation,						//rotation
						   0,									//delay
						   Linear.easeIn,							//ease
						   tween,									//onComplete
						   [star, 0]);								//onCompleteParams
		}






0 user(s) are reading this topic

members, guests, anonymous users