Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Round Corner in BitmapData

Posted on 2009-05-14
2
523 Views
Last Modified: 2013-11-11
I am working with the BitmapData of the flex, and now I want to make a image round corner but related to this there is no corner radius in either loader control or Bitmapdata.If any one have any idea I will appriciate.




Thnx in Advance
Shardul Singh Bartwal
0
Comment
Question by:shardul_bartwal
2 Comments
 
LVL 6

Accepted Solution

by:
biyik earned 500 total points
ID: 24393272
Hi!
May be this is not a true answer for your question but why don't you draw a mask with the Graphic class, instead of using BitmapData class?

You can use the drawRoundRect () method to create a rounded rectangle ( public function drawRoundRect(x:Number, y:Number, width:Number, height:Number, ellipseWidth:Number, ellipseHeight:Number = NaN):void ) and mask your images with it.
0
 

Author Closing Comment

by:shardul_bartwal
ID: 31581810
Not able to understand
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question