cacheAsBitmap hell

http://fmindesign.in/how-to-write-a-good-application-for-head-girl/ how to write a good application for head girl Last week I spent a whole day trying to solve an issue in Phoenix due to a strange problem which comes up suddenly after some code changes.
The problem was that now using the transformation tool the bounds of the selected bitmap were not detected correctly and the tool itself didn’t work.
So I spent a lot of time in checking out all the recent code changes ( and they were a lot! ) to find out the possible cause…
Anyway, I was lucky to figure out the problem by accident and the problem was http://blog.leadgraffiti.com/sites-to-pay-for-hoework-assignents/ sites to pay for hoework assignents cacheAsBitmap!

Custom Resume Writing 3rd Person

http://buyafranchiseinfo.com/dissertation-environmental-issues/ dissertation environmental issues The problem with the tool is because in order to find the correct bounds of any element on the stage it use the .concatenatedMatrix property of the element itself ( which represents the combined transformation matrixes of the display object and all of its parent objects, back to the root level ).
BUT if any of its parent display object ( not the root itself ) has the cacheAsBitmap property set to true then the concatenatedMatrix returns a wrong value!

Show My Homework Video

http://ducasco.gr/essay-writing-junk-food/ essay writing junk food I put a real simple flash example of what I mean. Just click on any of the 2 colored objects to activate the transform tool, then click on the “cache” button and click again on those objects to see the difference.

custom university admission essay georgetown

http://www.giezentweewielers.nl/?english-paper-ssc english paper ssc

vincent van gogh essay

http://www.mikasafarmington.com/writing-scientific-thesis/ writing scientific thesis

buy tesis online Get Adobe Flash player

http://www.hypetune.com/obesity-in-america-research-paper/ obesity in america research paper business plan writing services in maryland P.S. I’ve reported the bug in the flash player bugbase, if anyone is interested in watch or vote for it.

  • Alessandro

    http://www.nbinflatables.com/homework-finance-help/ homework finance help Hi,
    I lost many time with this issue. Could you post (or send me) the source code of your published example?

  • Elazar

    vacation essay writing Hi!
    I wasted two whole weeks on this!!! i endlessly proved my matrix manipulations are right, and faced the same terrible bug. i’m SO happy i came across your post.
    BTW, you don’t have to give up the concatenated matrix. i solved it by writing a simple getConcatenatedMatrix static method in my BitmapDataHelper: (since the matrix property of each DisplayObject is not effected by the bitmap caching)

    help my homework is due tomorrow public static function getConcatenatedMatrix(source:DisplayObject):Matrix {
    var m:Matrix = new Matrix();
    var scope:DisplayObject = source;
    while (scope) {
    m.concat(scope.transform.matrix.clone());
    scope = scope.parent as DisplayObject;
    }
    return m;
    }

  • http://www.altoretti.us/writing-assignments-for-high-school/ writing assignments for high school Hi,
    I actually wrote a post a year ago regarding cacheAsBitmap and problems with animation.
    http://k2xl.com/wordpress/2007/07/11/things-you-may-not-know-about-cacheasbitmap/

  • http://www.les-definitions.fr/dissertation-speech-therapy/ Dissertation Speech Therapy Alessandro,
    I really appreciate the post. We were running into something similar not too long ago and decided to push off the issue for a while. Today it arrived at the top of my to-do list and I decided to tackle it. Luckily in our case it was fairly obvious it was a cacheAsBitmap issue, but I’m glad your post was toward the top in Google. At least we know we weren’t going crazy and Elazer posted a good workaround. Again, thanks for posting. I’ve voted on your bug.

  • Tom

    Looking For Someone To Do My Essay Thanks for the post, I fixed this issue like this:
    var matrix:Matrix = target.transform.concatenatedMatrix;
    var point = new Point();
    target.localToGlobal(point);
    matrix.tx = point.x;
    matrix.ty = point.y;
    seems to work fine