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 cha
On 10 Feb 2012, at 6:00 pm, Alejandro Tejada wrote:
> Subject: Re: moving and scaling an image
> Reply-To: How to use LiveCode
>
> Hi David,
>
> David Glasgow wrote
>>
>> Thanks to all the help with this.
>> I ended up with a script that created sequent
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 i
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
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 t
On 9 Feb 2012, at 9:16 pm, Ken Corey wrote:
> From:
> 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
>
>
> Well, I must be missing something. Take a look at:
&
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 num
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 s
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 fir
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,
>
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 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,
>
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
Hi David,
Please, read this message from last year about
my stack named Infinite zoom:
Hi All,
Today, I found time to revisit this code, originally published
in 2009. Now the stack could zoom in and zoom out using
the mouse scroll wheel.
If you want, read that messages thread, started back
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 of
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 wi
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
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 rectan
Bernd Niggeman posted this a a solution to scaling and moving images
http://forums.runrev.com/phpBB2/viewtopic.php?f=27&t=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 e
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 any
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.
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
possibilities
On 9 Feb 2012, at 2:57 pm, Ken Corey wrote:
> From: Ken Corey
> 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
>
>
> On 09/02/2012 08:40, David Glasgow wrote:
>&g
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
24 matches
Mail list logo