Hi Venkat, I masked the base image with a rectangle image.The mask image and masked images are added to the imageHolder.It is masked.But when I move the scale handle the mask image is sclaing using object handles,same time the base image is scaled to its original size which is not moved.To stop base image scaling,I used invert matrix.My requirement is ,the base image should not be moved and scaled.The base image shoud be within the container and it should fit for container.Here is the code to stop base image scaling which am using.
_imageHolder.transform.matrix = _toolMatrix.clone(); var current:Matrix=image.parent.transform.matrix.clone(); current.invert(); current.tx=current.ty=0; image.transform.matrix=current.clone(); with thanks, Srinivas S On Wed, Feb 3, 2010 at 11:55 AM, Venkat Viswanathan <helloven...@gmail.com>wrote: > Hi Srinivas, > > Do you have part of the code ready? I mean do you have the code that > just masks the base image? If you could post that, we can help you > with resizing the mask. > > Regards, > Venkat > > On Feb 2, 1:43 pm, srinivas s <srini7...@gmail.com> wrote: > > Hi, > > I have a problem with mask image scaling. > > How to scale mask image without scaling the masked image in a container > of > > actionscript custom component.Does anyone have any idea how it can be > > done.Plz help in this regard. > > With thanks, > > Srinivas > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to flex_in...@googlegroups.com. > To unsubscribe from this group, send email to > flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.