A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: [RESOLVED] nested array does not work

Threaded View

  1. #3
    Member
    Join Date
    Jun 2011
    Posts
    85
    Wow! Thank you very much! But I think I discovered an error in your optimization in the following line of code (call me an idiot if I'm wrong):

    Code:
    matrixImage.applyFilter(matrixImage, matrixImage.rect, point0, colorMatrix);
    ( from adobe docs for BitmapData.applyFilter() http://help.adobe.com/en_US/FlashPla...ml#applyFilter)

    If the BitmapData object and the object specified as the sourceBitmapData parameter are the same object, the application uses a temporary copy of the object to perform the filter. For best performance, avoid this situation.
    That was the reason why I created a third bitmapData-object to bypass this problem.
    Last edited by drpelz; 09-11-2011 at 12:02 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center