PDA

View Full Version : slow drawing



StarXploser
June 23rd, 2007, 01:39 PM
Hello,
I'm creating a website that relies heavily on drawRect to draw boxes dynamically. I'm only drawing 3 boxes at all time. I'm getting terrible performance. I remember reading about using default lineStyle or no lineStyle to speed things up, so i tried it. It made a pretty big difference. Why is lineStyle so slow? is there a way to speedup drawing? I must be doing something wrong. There's no way that some people can create decent 3d application with AS3 but i can't even draw 3 2d boxes without killing my CPU...

lightscience
June 24th, 2007, 03:22 AM
well certainly check it out on another computer, or have a friend check it out for you and see what's up. it could be your computer and not flash!

StarXploser
June 24th, 2007, 07:28 PM
Unfortunately, that's not the problem. thx for the suggestion though.