Jump to content
GreenSock

claygraffix

hide center handle [SOLVED]

Moderator Tag

Recommended Posts

I'd like to make the center handle invisible. I was able to on the AS2 version, but can't quite figure out where it make that change in the AS3 version.

 

Any ideas? I'm still cruising through the code now.

 

Thanks,

C

Link to comment
Share on other sites

Found it. In TransformManager.as I changed line 1011 to:

 

for (i = 1; i < _handles.length; i++) {

 

changed 0 to 1 in the redrawHandles function.

 

Hope that won't break anything else!

C

Link to comment
Share on other sites

Cool. Glad you found it.

Link to comment
Share on other sites

i assume this solution is for AS3.0

 

if there any solution for AS2.0?

 

thanks in advance

Link to comment
Share on other sites

i change link 789 of TransformItem.as to

 

box(m_mc, 0 - _handleSize / 2, 0 - _handleSize / 2, _handleSize, _handleSize, _handleFillColor, 0, 1, _lineColor, 0);

 

think it might do the trick...

Link to comment
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.
×