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
Posts: 172
Registered: ‎01-17-2011
My Device: 9500 series
My Carrier: Airtel

how to create Circular layout like this

Hey All,

How can i create circular scrollable layout .

I tried to add all icons in Group & than tried to rotate it , but no success because of jadgy edges.

I tried to rotate an image & according to this image rotation , i tried to set positions of icons.

Is there any other alternative to perfectly do it.

 

I am in need of it.

Thanks

2asmU.png

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

Re: how to create Circular layout like this

have you checked the scaling of the images? We got a case where the images where in a hover effect and scaled down which made them look really ugly in rotation.

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

My App: Peg Solitaire

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

Re: how to create Circular layout like this

When i rotate the whole group . All images get jadgy effect , it really looks ugly. 

I am not changing scaling of images , i am just changing rotation to group , which is implicitly rotating its element too.

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: how to create Circular layout like this

Did you try to increase the stage quality? It might be a performance hit, but the quality might be better.
Developer
Posts: 172
Registered: ‎01-17-2011
My Device: 9500 series
My Carrier: Airtel

Re: how to create Circular layout like this

[ Edited ]

Yes
I tried it by setting the stage quality value by setting StageQuality.BEST
But no Changes , i also tried to set cacheAsBitmap as true for group.
Is there any way , by which we can set anti aliasing of groups.

Thanks

 

Developer
Posts: 43
Registered: ‎11-19-2010
My Device: Blackberry Tour
My Carrier: Verizon

Re: how to create Circular layout like this

If you have the time to explore a different option you could see if this works any better.

http://blog.soulwire.co.uk/code/actionscript-3/as3-g94-circular-menu

 

I had the basic part of the menu running on a playbook better never actually put anything on the menu items.

Highlighted
Developer
Posts: 75
Registered: ‎09-13-2011
My Device: Playbook
My Carrier: None

Re: how to create Circular layout like this

have you looked into using the Animate declarations? You can control the x, y, scale and rotation attributes in there and it should run smoother.



Show your support and click on the like button when you see a post that was helpful.
Developer
Posts: 172
Registered: ‎01-17-2011
My Device: 9500 series
My Carrier: Airtel

Re: how to create Circular layout like this

[ Edited ]

I tried by rotating image from its mouse down & mouse move .. But icons along with it not rotating smoothly. Can you provide me some code snippet to do so. I will be very thankful.