# Error Msg-"A script in this movie is causing Macromedia Flash Player 7 to run slowly"

**URL:** https://forum.kirupa.com/t/error-msg-a-script-in-this-movie-is-causing-macromedia-flash-player-7-to-run-slowly/113923
**Category:** Uncategorized
**Created:** [June 23, 2004, 2:18am UTC](https://forum.kirupa.com/t/error-msg-a-script-in-this-movie-is-causing-macromedia-flash-player-7-to-run-slowly/113923 "2004-06-23T02:18:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kaanuki](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@kaanuki](https://forum.kirupa.com/u/kaanuki)
#### Post date: [June 23, 2004, 2:18am UTC](https://forum.kirupa.com/t/error-msg-a-script-in-this-movie-is-causing-macromedia-flash-player-7-to-run-slowly/113923/1 "2004-06-23T02:18:52Z")

</div>

Hello, all.

I am building an application around a prebuilt application that I found here at Macromedia:  
“Flash MX Professional 2004 Data Integration Using Microsoft Active Server Pages (ASP)” -  
[http://www.macromedia.com/devnet/mx/flash/articles/flashpro\_asp\_02.html](http://www.macromedia.com/devnet/mx/flash/articles/flashpro_asp_02.html).  
I am using this prebuilt app on 14 “SCREENS” so that each time a user navigates to one of the 14 pages, a new query is run.

I am receiving about 12-14 Error boxes that say:

[A script in this movie is causing Macromedia Flash Player 7 to run slowly. If it continues to run your computer may become unresponsive. Do you want to abort the script?]

I can not figure out why!!! I am pretty new to Flash… Do I need a pre loader on this movie, or is there something in the initial code.?

The TUTORIAL says this about the application:  
“The application starts when the user loads the Flash movie in his or her browser. The first thing that happens is that the Contacts\_xmlcon instance of the XMLConnector component will trigger, calling ASP and getting the initial table of contacts in return. This component passes the returned array of contacts to a DataSet component, which sends it to a DataGrid and other Flash UI components”

–I HAVE ATTCAHED THE INITIAL ACTION SCRIPT CODE—

StatusHandler = new Object();  
StatusHandler.status = function(stat) {  
if (stat.code != “StatusChange”) {  
Info\_txt.text = "Connector STATUS - " + stat.target.\_name + “/” + stat.code + “/” + stat.data.faultcode + “/” + stat.data.faultstring;  
}  
}  
Contacts\_xmlcon.addEventListener(“status”,StatusHandler);  
SaveContacts\_xmlcon.addEventListener(“status”,StatusHandler);
