Solved

Round Corner in BitmapData

Posted on 2009-05-14
2
519 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
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…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

816 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