
Welcome Guest
|
#1
|
|||
|
|||
|
Having a bit of trouble here, I need a 7x11 square to be repeated 142 across and 64 down. My script is:
Actionscript:
gridx=7;
gridy=11;
num=1;
// Var J should be 64, i should be 142
for (var j=0;j < 64;j++)
{
for (var i=0;i < 142;i++)
{
dot.duplicateMovieClip("dot"+num,num);
mc=this["dot"+num];
mc._x=gridx*i;
mc._y=gridy*j;
num++;
}
}
dot._visible=0;And it all works as it should, HOWEVER 142x64 is 9088 and it takes forever to load and I get the 'Script is taking forever to load - do you want to Abort' message. How could I possibly speed it up? Sorry if I haven't given enough info, first time posting but will be happy to add anymore detail if needed. |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Display Data Grid through .AS File & load user data | chosen | Actionscript 2.0 |
0 | 10-21-2009 09:52 AM |
| Snap to grid | jcg | Flash MX 2004 |
0 | 05-05-2005 03:48 PM |
| data grid and selections | daxomega | Server Side | 0 | 04-03-2004 07:50 AM |
| Snap to grid problems | hrisula | Newbies |
3 | 07-08-2002 12:49 AM |
| snap to grid | makc | General Flash | 6 | 09-22-2001 09:17 PM |




