A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: problem with copyPixels?

  1. #1
    3DFA hobby scripter LewxX²'s Avatar
    Join Date
    Jul 2006
    Location
    Germany, Karlsruhe
    Posts
    198

    problem with copyPixels?

    I want to make something like an water reflection,
    but I have one problem.

    copy picture to the right works perfect: (snag-0101.jpg)
    Code:
    object.bitmapData.copyPixels (blubit.bitmapData, new Rectangle(0,0,stage.stageWidth, stage.stageHeight), new Point(1,1))
    but I can't copy them to left : (snag-0101.jpg)
    Code:
    object.bitmapData.copyPixels (blubit.bitmapData, new Rectangle(0,0,stage.stageWidth, stage.stageHeight), new Point(-1,1))
    => this doesn't work

    how can use the copyPixels method to copy pixels to the left.
    negative values doesn't work
    Attached Images Attached Images
    Last edited by LewxX²; 01-03-2009 at 12:44 PM.
    sorry for my bad school English
    btw. visit my Page: projects.lewxx.de
    or lewxx.de (<= German)

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