Hi, Does your SuperCanvas class behave normally like the Canvas class or is there any peculiar behavior in it that makes it different from a Canvas?
To handle scaling and zooming, you can put all the child objects inside the superCanvas inside another canvas (or superCanvas if required) and then change the scale and x/y positions of the inner canvas on user gestures like click of a button or drag of the inner canvas). Regards, Venkat www.venkatv.com On Wed, Sep 10, 2008 at 11:27 AM, HISSAM <[EMAIL PROTECTED]> wrote: > > Hi Experts, > > > I have a Vbox where there is only 1*(a Canvas as > superCanvas) container and another component(a toolbox) is added at > runtime. When another component is added to this vbox I decreases the > height of the 1container i;e the superCanvas in such a that > > superCanvas.height=vbox.height-toolbox.height. > > now when the superCanvas height is decreased the inner components > inside the superCanvas > gets scroll. When scroll is set to false, the components are half > displayed as usual. > > I can not set bindings to the inner components since they fixed with > height and width. > > So I'm looking for scaling or zooming in the superCanvas and its inner > components so that it look good and complete without any halfway > display. > > Can anyone help me out with this problem?? > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

