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.
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);