-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
ScrollTrigger Demos
Downloads
Posts posted by KnightRider
-
-
here i attached mxml file with my code using transform manager
-
i'm using single transform manager with multiple image bt when i'm doing crop another image is overlapping on selected image..
-
private function init():void
{
//rect for bounding image within canvas
_rect=new Rectangle(0,0,canvas.width,canvas.height);
_manager.bounds=_rect;
_fCrop = new FlexCrop(_imgC,_manager);
_fCrop.configureCropMode(false,.5,0xAACCBB,true);
_fCrop.addEventListener("enterCropMode",sCrop);
}
private function sCrop(e:Event):void
{
//_rect=_manager.getSelectionBounds();
//_rect for bounding crop within image component
_rect=new Rectangle(_imgC.x,_imgC.y,_imgC.width*_imgC.scaleY,_imgC.height*_imgC.scaleY);
_manager.lockRotation=true;//lock rotation of crop
_manager.bounds=_rect;
}
before rotation its working well crop is bounded with in image
After rotation img1
After rotation img2
-
hello,
I'm trying to bound crop with image component but when i rotate image then perform crop image is shrinking and out of Transform Manager...
if u have any suggestion for this then plz let me know.,..
Thank u
multiple images with single transform manager
in TransformManager (Flash)
Posted
okay.. thanks for ur reply.. now i'll try with FlexTransformManager..