Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Developer
shaan_softwaredvlpr
Posts: 172
Registered: ‎01-17-2011
My Device: 9500 series

Rotate a group in As3

[ Edited ]

Please help me to sort out a big issue .

I need to rotate a layout(spark component Group) from center , i am able to rotate it from center. but once i rotate it , its all gives me jadgy edges. Like if i rotate an image than i can set its bitmap smoothing to true , by which jadgy edges will not come. But in groups there is no smoothning variable Please tell me how can i achieve this.

 

Shashank

Developer
lrrm
Posts: 306
Registered: ‎03-01-2011
My Device: Playbook (sim)

Re: Rotate a group in As3

please check if you have set cacheAsBitmap to true. if so, disable it.

 

otherwise I would recommend you to draw an image of the container and rotate this image. it's not very performance friendly but you could get rid of the edge problem.

..................................................................................................................................................................................................................

My App: Peg Solitaire

Need a designer? Drop me a line
Developer
shaan_softwaredvlpr
Posts: 172
Registered: ‎01-17-2011
My Device: 9500 series

Re: Rotate a group in As3

Hi Thanks for your reply.

I set cacheAsBitmap to false ,& i amhaving many components like an imag & several buttons which all i need to rotate.