# Adobe Player Error

**URL:** <https://forum.kirupa.com/t/adobe-player-error/245526>\
**Category:** flash\
**Created:** [November 30, 2007, 4:18pm UTC](https://forum.kirupa.com/t/adobe-player-error/245526 "2007-11-30T16:18:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andyd](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@andyd](https://forum.kirupa.com/u/andyd)\
**Post date:** [November 30, 2007, 4:18pm UTC](https://forum.kirupa.com/t/adobe-player-error/245526/1 "2007-11-30T16:18:09Z")

</div>

Hi

I’ve recently added a flash movie to our company Intranet at work (AS below), it worked fine for a week or so but now were getting the following error;

[COLOR=red]“A script in this movie is causing Adobe Flash Player 9 to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?”[/COLOR]  
[COLOR=#ff0000][/COLOR]  
[COLOR=black]Does anyone know how to fix this?[/COLOR]

[COLOR=red]this.createEmptyMovieClip(“theScene”, 1);  
theScene.\_x = 220;  
theScene.\_y = 5;  
objectsInScene = new Array();

spin = 0;  
focalLength = 500;

displayPane = function ()  
{ var angle = this.angle-spin;  
var x = Math.cos(angle)_this.radius;  
var z = Math.sin(angle)this.radius;  
var y = this.y;  
var scaleRatio = focalLength/(focalLength+z);  
this.\_x = xscaleRatio;this.\_y = y_scaleRatio;  
this.\_xscale = this.\_yscale=100\*scaleRatio;  
this.\_xscale \*= Math.sin(angle);  
this.swapDepths(Math.round(-z));};

angleStep = 2_Math.PI/5;  
for (i=0; i\<6; i++) {  
attachedObj = theScene.attachMovie(“pane”+i, “pane”+i, i);  
attachedObj.angle = angleStep_i;  
attachedObj.radius = 150;  
attachedObj.x = Math.cos(attachedObj.angle)\*attachedObj.radius;  
attachedObj.z = Math.sin(attachedObj.angle)_attachedObj.radius;  
attachedObj.y = 40;  
attachedObj.display = displayPane;  
objectsInScene.push(attachedObj);  
}  
panCamera = function () { spin += this.\_xmouse/2500;  
for (var i = 0; i\<objectsInScene.length; i++) {objectsInScene_.display();  
}  
};

theScene.onEnterFrame = panCamera;  
[/COLOR]
