Bharat Patel

  • Content Count

  • Joined

  • Last visited

Everything posted by Bharat Patel

  1. Bharat Patel

    Crop operation

    Hello, I am using crop feature, but facing one problem when user move the crop control, the control 's line and mask are not in sync (Refer attached image). So is there any property or settings that need to apply on control. Refer the below code. var manager:TransformManager = new TransformManager(); manager.lockPosition = false; manager.lockRotation = false; manager.lockScale = false; var cropControl:FlexCrop = new FlexCrop( imageObj, manager, true); cropControl.configureCropMode(false, 0.5, 0xFFCC12, true);
  2. Bharat Patel

    Crop operation

    Hi Jack, Don't spend time for above issue, now its working fine with following change: var cropControl:FlexCrop = new FlexCrop(cropImageObj, flxTransformManagerObj.manager, true); Thanks Bharat
  3. I understand the challenge with TransformManager. I will handle it directly over element and after that _transformManager.updateSelection() With the alternate option will achieve my goal. Thank for response.
  4. Hi, I am using 'selectionScaleX' & 'selectionScaleY' property to scale selected image. _transformManager.selectionScaleX = 0.5 _transformManager.selectionScaleY = 0.5 However it change the image x and y position. Is is possible to scale selected image object without changing image position? Thank You Regards, Bharat
  5. I tried the scaleFromCenter, it also update the object x/y position. In my case i am expecting scale should only perform with reference to top left point of transform. is there any option through which we can set top left point as registration point?