Many FXG files are compiled down to Flash symbols (unless there is text involved). There is no “code” for them, but moving them or otherwise invalidating that area of the screen makes the renderer re-consider all those paths in the symbol.
On 6/22/10 11:28 PM, "dorkiedorkfromdorkt...@gmail.com" <dorkiedorkfromdorkt...@gmail.com> wrote: so if i had an fxg file with 10000 paths but those paths didn't change they wouldn't be redrawn every frame correct? how should i determine when to rasterize vector FXG art vs leaving it as is? On Fri, Jun 18, 2010 at 1:49 AM, Alex Harui <aha...@adobe.com> wrote: Maybe, yes, none, n/a, no, yes (17), no, depends, bribery, no thank you. Not necessarily in that order. On 6/17/10 7:15 PM, "dorkiedorkfromdorkt...@gmail.com <http://dorkiedorkfromdorkt...@gmail.com> " <dorkiedorkfromdorkt...@gmail.com <http://dorkiedorkfromdorkt...@gmail.com> > wrote: I saw a comment recently that large FXG usage can affect performance. For example, FXG in skins. But I also read it affects file size??? If it's vector shouldn't it in most cases be smaller in size than a rasterized representation of the vector? What about If the vector skin art is relatively static how much of it is getting redrawn every frame? If it is redrawn every frame what is the use of "Show redrawn regions" in the Flash Player context menu? To quote Ted P, "Internally the player sweeps the DisplayList and processes all graphics, then processes all frame bytecode, then processed events. If there are things to do in each phase, the phase will expand potentially slowing down the frame speed." http://tinyurl.com/2erm72a Has this behavior changed in Flash Player 10.1? BTW Is there a limit to the number of questions I can ask in a single post? Have I past that limit? If so will any of my questions get answered or is the whole post disqualified? If so how do I get it re-qualified? Separate posts for each question? JP -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui