I want to change default docking of whiteboard toolbox right now it is vertical I want to make it horizontal. I am able to place it horizontally via rotation property of whiteboard but it is not giving expected result.
Looking for suggestions
Thanks,
dRItesh
Views
Replies
Total Likes
hi Ritesh,
When you rotated the toolbar, it rotated as a whole object. To achieve what you want , you might have to rotate all the children inside of toolbar too.
var toolbar:UIComponent = swb.shapesToolBar;
toolbar.rotationZ = -90;
for (var i:int=0; i < toolbar.numChildren; i++)
{
//Do some rotation
}
Thanks
Arunc
Views
Replies
Total Likes