Any chance you can share some of this code? I did it in Flex3 with bitmap data, am trying it now with spark components and am only getting the image to scale but upon panning I've only got a clip of the image... On May 31, 2011, at 2:14 PM, yoohoo <r...@goodlux.com> wrote:
> Hello all - > > I'm working on an application where I'd like to have a pannable/zoomable > image inside of a group. I'd like to be able to zoom from the point where I > drop the image after dragging it around. > > I've got everything working well except for one problem. > > > In the mouseUp handler, I set the transformX and tranformY properties to the > event.stageX and event.stageY coordinates of the mouse event. > > This should set the zoom point to whereever the mouse lifted up. However, it > seems to jump the image back to where the drag started. > > I've tried everything I can think of, I'm just wondering if anyone out there > recognizes this problem and remembers what they did to work around. > > > Thanks! > > > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Alternative FAQ location: > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links > > >