This content has been marked as final. Show 4 replies
When you say the "line is vary large" what do you mean? Thickness, length? Something else?
Lengthwise, sorry. Its about 10k + pixels at this point.
Yes, when you get over about 8000 (or maybe it is when you get close to 16000 or thereabouts) things generally break down. Unless you have a 8,000 pixel wide monitor however it shouldn't really matter. :)
Flash was orignally designed for delivering some nice vector graphics over the web when a 1024 x 768 monitor was a big deal. In those days memory was pretty limited too, so the original designers imposed some limits on the dimensions that Flash could handle. Not sure exactly what they are but it is generally in the area of a total span of 16,000 pixels is what I've found over the years is the approximate limit. For example on the other side, you can only track coordinate positions to twips (twentieth of a pixel or .05)
Setting limits -- not at all uncommon even in this day and age. The limits seem a bit small by today's standards. I've heard rumors that there may be some changes to upper limits in the next version of Flash.
So the over-all answer is that if you need to be drawing giant things you will need to find clever ways to break them up into usable chunks. If I had to do this I might start here:
Look down to March 23's entry on the BigAssCanvas class. Maybe not exactly what you need, but it could give you some ideas.
Thanks so much for the response, I'll check out the link.