?
Solved

Round Corner in BitmapData

Posted on 2009-05-14
2
Medium Priority
?
542 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 1000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
Suggested Courses
Course of the Month14 days, 7 hours left to enroll

807 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