Jump to content
Search Community

cugreen

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by cugreen

  1. I hope I am providing enough information here to allow you to understand my issue.

    Basically, When I select an item and then try to transform it, it disappears. It seems to move to another distant location eg, x:107373889, y:107373889

    The interesting thing is that this only happens in the browser, not in flash player. It also seems that this problem is intermittent.

     

    Any ideas why this would be happening? Sorry for the limited amount of information, I'm just hoping you have come across it before.

  2. Thankyou for a quick response.

     

    I'd recommend simply storing the transform.matrix values instead of scaleX/scaleY/width/height/rotation. It's cleaner that way.

     

    That's good to know. I tried using the MatrixTools to get the scaleX and scaleY, is that what you mean? sorry, I'm not too familiar with transform.matrix or how to get the values back into TransformManager, do you have a small example?

     

    Thanks again

  3. Hi Greensock,

     

    I have a problem getting the width and height of my TextField. Basically what I am trying to do is get the user interaction of the TransformManager and send the details back to a database, then get the database back and re-apply it to the TransformManager. Ofcourse there is no problem using display objects, but, when I use a TextField it's different story. You may be able to suggest a better way to do it.

     

    Basically, I am listening for the events from the TransformItem (SCALE, MOVE, ROTATE) then updating an object on those events, then when the user saves, the object is sent off to the database. With the display objects size, I am storing the scaleX and scaleY, that works fine, but because the scaleX and scaleY for the TextField is always 1, I am storing the width and height, when the TransformItem is rotated, it returns the TransformItems height and width when I try to get the TextFields height and width.

     

    Any ideas?

×
×
  • Create New...