LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-25-2001, 02:19 PM
pedram pedram is offline
Registered User
 
Join Date: Mar 2002
Location: London
Posts: 6
Rep Power: 0
pedram is on a distinguished road
Angry a script is causing Flash Player to run slowly

Here's the script:

on (rollOver) {
for (InstanceName in myArray) {
myColor = new Color("_root."+myArray[InstanceName]);
myColor.setRGB(0xff6600);
}
}
on (rollOut) {
for (InstanceName in myArray) {
myColor = new Color("_root."+myArray[InstanceName]);
myColor.setRGB(0x000000);
}
}

The problem is I have this running 18 times in a generator created list item (eg: each element/line of the drop down runs this script). There are about 3 or 4 things in each array at the moment but it will be many more.
Basically it is in a list of categories in an exhibition which when you roll over you see the exhibitors in that category highlighted on a floor plan of the exhibition.
I set myArray in an action on my main timeline (no point repeating it for each mouse action)
It all works when you test the movie but when published I get the error message of doom:
A script is causing Flash Player to run slowly... yada yada yada...
and then my movie locks up.

Anybody help?

The movie is at http://www.foxonline.co.uk/eventexpo.../floorplan.asp - Look under Categories in the drop down list top right

the .fla is at http://www.foxonline.co.uk/eventexpo.../floorplan.fla

Thanks in advance for any help!
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Youtube Player embedded in Flash samuels27921 Actionscript 2.0 0 02-06-2009 01:48 AM
Adding an Action Script to a Player for streaming ISX / ASX playlists Lamberra Flash CS3 / Flash 9 2 09-17-2008 04:53 PM
Migrating from Flash Player 6 to 7 cstillwell Actionscript 2.0 4 08-06-2007 06:20 PM
Cause for "A script in this movie is causing Flash Player to run slowly" alert Scottae Flash MX ActionScript 0 07-30-2004 07:51 PM
Flash Player 7 FlashMove Members Cafe 5 08-08-2003 03:17 AM




All times are GMT. The time now is 11:25 AM.