solutions
1) use width="100%" in mxml
2) width="{parent.width}" />
3) use percentWidth in actionscript
4) override updateDisplayList() and set the width of the hbox equal to
width of the parent(VBox in this case).man i can go on.... On Apr 17, 6:40 am, Ravi <[email protected]> wrote: > Hello Friends, > I am developing a image editing application,in which i have > rotate,crop,scale image functionality,we have to click on rotate,crop > or scale button to perform that action. > For this i make a new component,in which i used vbox and > put image in that and bottom of vbox i used hbox in which i put three > buttons rotate,scale and crop. > But when i rotate image i want that controls at bottom of > image,i this the image angle is only changing the height,width are > remaining same so according to that i want to chane the width of hbox > in which i put cntrl buttons so can any body plz help me in this > (because if image angle becomes 90,the cntls hbox width should be > image height)..i used canvas insted of vbox but it facing lots of > problems..plz help me in this... > thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

