Solved

Round Corner in BitmapData

Posted on 2009-05-14
2
511 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
Comment Utility
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
Comment Utility
Not able to understand
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

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 been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
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 how to load their YouTube profile onto Flash Media Live Encoder.

762 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now