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




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-09-2006, 08:00 PM
Petsmacker Petsmacker is offline
Registered User
 
Join Date: Dec 2006
Posts: 2
Rep Power: 0
Petsmacker is on a distinguished road
Source Slow Grid Creation

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.
 


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 On
HTML code is Off

Forum Jump

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




All times are GMT. The time now is 10:43 PM.