Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6602831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:55:29+00:00 2026-05-25T18:55:29+00:00

is it possible to change the Rectangle I use as fifth parameter of draw

  • 0

is it possible to change the Rectangle I use as fifth parameter of draw BitmapData class?

bitmapData.draw(image,null,null,null,rect,false);

I’m trying to draw and save a different shape (with the shape of a particular MovieClip).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T18:55:30+00:00Added an answer on May 25, 2026 at 6:55 pm

    If you look at the definition for the BitmapData’s copyPixels method (adobe documentation), you’ll see:

    “If you include the alphaBitmap and alphaPoint parameters, you can use
    a secondary image as an alpha source for the source image. If the
    source image has alpha data, both sets of alpha data are used to
    composite pixels from the source image to the destination image. The
    alphaPoint parameter is the point in the alpha image that corresponds
    to the upper-left corner of the source rectangle. Any pixels outside
    the intersection of the source image and alpha image are not copied to
    the destination image.”

    You can probably get this to do what you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Change custom color for Rectangle.Fill or Grid.Background I'm trying to dynamically set
i am trying to draw a rectangle when i press mouse left button and
Is it possible to change the style of a class via JavaScript without looping
I have an implementation question. I am trying to have a rectangle change color
Possible Duplicate: change colors of table with javascript for this problem im trying to
Possible Duplicate: change image on click of button in objective c i draged 3
Possible Duplicate: Change icon on of an App in iOS 4 in run-time Is
Possible Duplicate: change layout and template in zend dynamically according to the device(android tab,iphone,ipad)
Is it possible to change the size of a font in .net winforms without
Is it possible to change the assembly name based on the project configuration? I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.