How to zoom or magnify a stack with fingers handler??

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

How to zoom or magnify a stack with fingers handler??

Post by Fasasoftware » Fri May 03, 2013 1:47 am

dear friends,

what is the little script to zoom or magnify a stack with fingers handler??

does it exist in livecode?????

thanks a lot ...,.


Lestroso :oops:

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: How to zoom or magnify a stack with fingers handler??

Post by Simon » Fri May 03, 2013 1:53 am

Here it is Lestroso,
http://lessons.runrev.com/s/lessons/m/4 ... nch-motion
I hope you meant an image not a stack.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

Re: How to zoom or magnify a stack with fingers handler??

Post by Fasasoftware » Fri May 03, 2013 7:14 pm

Hi Simon...thank again....but i need to resize a stack or group control not a single image.....

You know when you use the phone with 2 fingers to zoom in ...in the screen... ...yes this is an example.....

But i need an example when i recall this function i''ll give to that a resizestack and so i will ok...because i have a script that already resize in real time the stack... but idon't know if will work or not...


Best regards,

Lestroso :D

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: How to zoom or magnify a stack with fingers handler??

Post by Simon » Fri May 03, 2013 8:35 pm

Hi Lestroso,
A stack will always go fullscreen on mobiles, you can't change the size.
The script you are using (which if you look back I actually wrote) will see the resize and adjust your controls to fit.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

Re: How to zoom or magnify a stack with fingers handler??

Post by Fasasoftware » Fri May 03, 2013 8:57 pm

Ah...ok...thanks again simon.....

but ok ... and so what is the solution in your opinion??? what can i do??......because an app of mine ...have the control small...when you see in android screen....

I don't know.... any idea??

thanks a lot Lestroso :oops:

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: How to zoom or magnify a stack with fingers handler??

Post by Simon » Fri May 03, 2013 9:42 pm

If you followed the instruction to set the stack to it's smallest size before you click the resizeStack button they should be fine.
With your stack in it's smallest size you should still be able to use all your buttons, if not, then you will have to re-think your layout.

One thing that I left out of the instructions was to import all your graphics at their largest usable size (do not import an image at 3000px X 3000px just because it's the biggest size) and set the quality to good.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

Fasasoftware
Posts: 203
Joined: Mon Oct 31, 2011 9:36 pm
Contact:

Re: How to zoom or magnify a stack with fingers handler??

Post by Fasasoftware » Sat May 04, 2013 6:45 am

ok Simon...thank you in anyway....i thank you a lot...

i will try your suggestion ...

best regards...


Lestroso :D

Post Reply