> I don't understand what it means for the layer to move out of the layer..
>
> maximum and minimum shouldn't be that hard to set by adding conditions
> to the touchzoom>=0 event.
> -system compare two values : InitialScale * (TouchCurrentDistance / TouchStartDistance) <= MaximumScale (you have to set this number yourself)
> -system compare two values : InitialScale * (TouchCurrentDistance / TouchStartDistance) <= MinimumScale (you have to set this number yourself as well)
>
If we use the above code then too how to calculate touchcurrentdistance & touchstartdistance ???
Could anyone put some light on this ?
The code I provided was/is based on the zoom example shipped with C2..
Open the new project dialog and put zoom in the searchbox, you'll find it..