Hi lovely list,
there is this wonderful new property for images angle.
Can someone eventually supply a smart script to do the following ?
Supposed i have an image of an arrow (i actually do :-).
What should i script in a mousemove-handler to make that arrow
always point to the cursor ?
I
Try this - it works:
-- card script
on mouseMove
-- an aim checkbox turns it on/off
if the hilite of btn aim = false then exit mouseMove
put (the mouseH - (item 1 of the loc of img 1)) into x
put (the mouseV - (item 2 of the loc of img 1)) into y
set the angle of img 1 to
Hi Phil,
Try this - it works:
-- card script
on mouseMove
-- an aim checkbox turns it on/off
if the hilite of btn aim = false then exit mouseMove
put (the mouseH - (item 1 of the loc of img 1)) into x
put (the mouseV - (item 2 of the loc of img 1)) into y
set the angle of img
Thank you very much for your script sample. I implemented it with one minor
change I needed. When I tried your code whenever I tried dragging a button
on my card a different object (part of a group) would move instead. I had
to change your code in the mouseMove handler from
set the loc of
On 4/24/02 1:48 PM, [EMAIL PROTECTED] wrote:
Thank you very much for your script sample. I implemented it with one minor
change I needed. When I tried your code whenever I tried dragging a button
on my card a different object (part of a group) would move instead. I had
to change your code
I haven't been paying total attention to this thread, but wouldn't it work if your
script said:
set the loc of the target to x,y
Seems like that would be about as simple as it gets. Then you don't have to be
concerned with getting or passing *any* info about the target control.
Phil
Dear List -
I'd like to use the imageData property to manipulate the brightness and
contrast of an image. After doing a bit of experimenting I have some ideas
of how to go about it, but I thought I'd post to the list to see if someone
with a bit more knowledge has already done this and would be
Hi listers,
It's time for me to retire my Trusty 9500 Mac (twice upgraded and currently a G3
300mz with a blurry, blue-streaked 17 inch monitor) to a shinny, new G4, but I'm
not really thrilled at the prospect of developing software under MOS X+
So do these new wonder-toys of Mr. Jobs