flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak MS <megharajdee...@gmail.com>
Subject Re: Scale a Component About a Defined Point
Date Sat, 12 Jul 2014 04:04:10 GMT
http://www.slideshare.net/mobile/danielwanja/building-ipad-apps-with-flex-360flex

In that, after about 60 slides, there is a gesture specific example, in
which component.tranformAround(...specific point) is used. See if that
helps.
On 11 Jul 2014 19:14, "Tintin" <1955.mille.miglia@googlemail.com> wrote:

> Hello
>
> I'm sure this should be simple, but I can't see it. I want to scale a Spark
> Group (and its content within) about a specific point, not its centre.
> Currently to achieve what I want I have to set the Group.ScaleX and
> Group.ScaleY and then calculate the offset required to keep my centre point
> fixed and then apply these new Group.X and Group.Y values.
>
> Is there a way to set the origin point about which you want to scale
> please?
>
> Regards
>
> Chris
>
>
>
> --
> View this message in context:
> http://apache-flex-users.2333346.n4.nabble.com/Scale-a-Component-About-a-Defined-Point-tp7233.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message