vj3k0

TransformManager bounds

Recommended Posts

First to note that I'm using FlexTransformManager component. I've set bounds to null, and it doesn't constrain movement of elements which is exactly that I want. But problem is that element is not fully visible outside of manager element (<x,<y,>x+width,>y+height). It will be only partially visible, like manager is masked with rectangle of width and height the same as manager.

 

What's going on here and how can I workaround this?

 

Many thanks,

Vjeko

Share this post


Link to post
Share on other sites

Hmmm...that sounds like a Flex-specific question and unfortunately I'm not much of a Flex guy. From a quick Google search, it looks like maybe you need to set the clipContent property to false. Does that help? 

 

http://stackoverflow.com/questions/523571/how-to-make-the-canvas-clip-its-contents-in-flex

http://blog.flexexamples.com/2008/02/02/clipping-a-flex-containers-content-using-the-clipcontent-property/

 

Keep in mind that FlexTransformManager just extends the Flex Canvas class. 

Share this post


Link to post
Share on other sites

Thanks Jack,

 

now I see that FlexTransformManager extends Canvas. Setting clipContent to false did the trick.

 

P.S. Money was very well spent on your library. :-)

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.