Ok so I have a gallery that rotates anywhere from 15-30 images around. Originally I added an enter_frame to every image and performed the movement calculations in there. Now I just add one global enter_frame that loops through an array and moves all the images. Sometimes I notice stuttering. I was wondering if there is a more efficient way to do this. I was even thinking about adding another enter_frame, one that could move say the first 15 or so images, and then the other enter_frame would move the rest, that way one enter_frame wouldn’t have to do all the heavy processing because the other would share the load, now that I think about, was it more efficient to have an enter_frame on every image, it was just a thought that went through my mind and I wanted to throw it out there, I’m curious to see what everyone will say.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
Addicted to OnEnterFrame
|
0 | 74 | February 8, 2005 | |
| Addicted to OnEnterFrame | 0 | 81 | February 8, 2005 | |
| Optimizing enterframe code for multiple mc's | 0 | 83 | June 16, 2005 | |
| Faster processes? | 0 | 34 | March 5, 2007 | |
| More ENTER_FRAME events? | 0 | 106 | October 26, 2011 |