On 10 Feb 2012, at 6:00 pm, Alejandro Tejada wrote:
Subject: Re: moving and scaling an image
Reply-To: How to use LiveCode use-livecode@lists.runrev.com
Hi David,
David Glasgow wrote
Thanks to all the help with this.
I ended up with a script that created sequential moves
Hi David,
David Glasgow wrote
The only thing I can think of is that if the location moved to is closer
than the step size in the repeat loop, then you won't get the scaling, or
only a very little bit. What happens when you step through in the
debugger?
Ah, now it works!
I just changed
Hi Ken,
Ken Corey wrote
Do you have 12 images in the image directory?
The first time I didn't...so I added some more.
Then, I double-clicked on the card one in the App Browser, and then
clicked the button again. Worked fine the second time.
-Ken
Yes, 12 images is the minimun number of
On 9 Feb 2012, at 9:16 pm, Ken Corey wrote:
From: k...@kencorey.com
Date: 9 February 2012 8:30:35 pm GMT
To: use-livecode@lists.runrev.com
Subject: Re: moving and scaling an image
Reply-To: How to use LiveCode use-livecode@lists.runrev.com
Well, I must be missing something. Take
Thanks to all the help with this.
I ended up with a script that created sequential moves, with an image scale in
between each. I am amazed at how smooth it is. This is the 'pull towards'
script:
on embiggen
put item 2 of the loc of grc near into tend
put item 2 of the loc of me into
On 10/02/2012 15:23, David Glasgow wrote:
Thats the kind of thing! Looks like I should forget about the move command,
and just shuffle off to the destination shrinking as we go. I am surprised at
how smooth it is.
Just out of interest, I disabled the unwiggle line of your script, but was a
Hi David,
David Glasgow wrote
Thanks to all the help with this.
I ended up with a script that created sequential moves,
with an image scale in between each.
I am amazed at how smooth it is. This is the 'pull towards' script:
[snip]
Really nice! When i pasted this script in an image,
On 09/02/2012 08:40, David Glasgow wrote:
I am trying to get an image to slide from the middle of the screen either to
the top or the bottom. However, the screen has a perspective, as if you were
looking down a bowling alley, with a vanishing point somewhere above the screen.
To maintain the
On 9 Feb 2012, at 2:57 pm, Ken Corey wrote:
From: Ken Corey k...@kencorey.com
Date: 9 February 2012 10:54:06 am GMT
To: use-livecode@lists.runrev.com
Subject: Re: moving and scaling an image
Reply-To: How to use LiveCode use-livecode@lists.runrev.com
On 09/02/2012 08:40, David Glasgow
David Glasgow wrote:
I just want to give the most basic impression of pulling towards and pushing
away of images. The maths isn't the problem, its the moving and scaling at the
same time.
You and me both.
The moment I can make anything close to News360 in LiveCode, ah, the UI
On 02/09/2012 10:40 AM, David Glasgow wrote:
Hello folks,
I am trying to get an image to slide from the middle of the screen either to
the top or the bottom. However, the screen has a perspective, as if you were
looking down a bowling alley, with a vanishing point somewhere above the screen.
Richmond, this gave me the horrible case of the jitters. The image would shift
positions as I dragged it. I tried locking and unlocking the screen before and
after the sizing and positioning of the image, but apparently when the user is
interacting with the IDE, the screen is going to unlock
Bernd Niggeman posted this a a solution to scaling and moving images
http://forums.runrev.com/phpBB2/viewtopic.php?f=27t=8042#p37952
You might get some ideas from the stack...
On 09/02/2012 08:40, David Glasgow wrote:
I am trying to get an image to slide from the middle of the screen either
Hi,
if you want to move and scale at the same time, changing the rectangle property
is your friend. You will want to do this in a send in time structure and
calculate where the the corner points of your control need to be at the given
time. You will want to lock screen before you set the
On 2/9/12 12:16 PM, Richmond wrote:
I made a stack 1024x768 pixels and popped an image right in the middle
of it, and
put this in the script of the image:
on mouseDown
grab me
end mouseDown
on mouseStillDown
set the idleRate to 1
put the item 2 of the loc of me into LOK
if LOK 0 then
set the
On 02/09/2012 08:30 PM, Bob Sneidar wrote:
Richmond, this gave me the horrible case of the jitters. The image would shift
positions as I dragged it. I tried locking and unlocking the screen before and
after the sizing and positioning of the image, but apparently when the user is
interacting
On 02/09/2012 09:04 PM, J. Landman Gay wrote:
On 2/9/12 12:16 PM, Richmond wrote:
I made a stack 1024x768 pixels and popped an image right in the middle
of it, and
put this in the script of the image:
on mouseDown
grab me
end mouseDown
on mouseStillDown
set the idleRate to 1
put the item 2
Well, I must be missing something. Take a look at:
http://its.ec/static/faux3d.livecode.zip
Is that the kind of thing you're after? Seems smooth enough for me (and
works in the iOS simulator, though the Motif-themed scrollbar looks
decidedly odd).
-Ken
On 09/02/2012 17:53, David Glasgow
I followed the instructions. On the 12th loop I get an error that essentially
says there is no such control as control 12.
Bob
On Feb 9, 2012, at 11:52 AM, Alejandro Tejada wrote:
Hi David,
Please, read this message from last year about
my stack named Infinite zoom:
Hi All,
On 09/02/2012 22:30, Bob Sneidar wrote:
I followed the instructions. On the 12th loop I get an error that essentially
says there is no such control as control 12.
Do you have 12 images in the image directory?
The first time I didn't...so I added some more.
Then, I double-clicked on the card
I changed the loop max count to 11. The script finished but it appears all
objects are off the screen. Nothing is showing.
Bob
On Feb 9, 2012, at 11:52 AM, Alejandro Tejada wrote:
Hi David,
Please, read this message from last year about
my stack named Infinite zoom:
Hi All,
I had 13.
Bob
On Feb 9, 2012, at 2:32 PM, Ken Corey wrote:
On 09/02/2012 22:30, Bob Sneidar wrote:
I followed the instructions. On the 12th loop I get an error that
essentially says there is no such control as control 12.
Do you have 12 images in the image directory?
The first time
Also, the images are all white. I used Preview to convert from png to jpg.
Could that be a problem?
Bob
On Feb 9, 2012, at 2:32 PM, Ken Corey wrote:
On 09/02/2012 22:30, Bob Sneidar wrote:
I followed the instructions. On the 12th loop I get an error that
essentially says there is no such
23 matches
Mail list logo