I think we would need more info to offer real suggestions..
How are you creating the squares now? attachMovie?
If so, switching to duplicate is not going to speed anything up.
Do these squares need to be clickable/drag-able etc?
If not, using the drawing API is much faster than making movieClips
for each point.
Do all the points need to be visible at once?
If, say, you had a line graph that extended several "pages" in one
direction, you can make sure you only draw what is visible at any
given time.
In general, Flash has problems with large iterations.. you may need
to break up your work into smaller pieces.
On Mar 25, 2006, at 7:22 PM, [EMAIL PROTECTED] wrote:
I have a big probelm,
i need to draw a lot of points in my movie (like 10000) . I tryed
creating at
run time a little square for every point and moving it in a certain
position.
It works but is veeeeery slow.
My question is if i can use duplicatemovie clip to duplicate this
little square
shape ( and how can i do it) and if this will help to make my movie
ligther
and faster...
Thanks,Riccardo
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com