Move a label
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 6
- Joined: Sat Jul 15, 2006 2:47 pm
Move a label
How do U slowly move a label from (Top 5, Left 65) to (Top 5 Left 200) and change from visible off to on
Re: Move a label
Hi Pauls 74462,
make a field (label field or any other) and a button.
set the script of the button to
There are other ways to tackle this but without further information this is one of them.
Kind regards
Bernd
make a field (label field or any other) and a button.
set the script of the button to
Code: Select all
on mouseUp
set the blendlevel of field 1 to 100
set the top of field 1 to 5
set the left of field 1 to 65
put 100 into tCounter
repeat with i = 65 to 200
set the left of field 1 to i
set the blendlevel of field 1 to tCounter
wait 0 milliseconds with messages -- increase if too fast
if tCounter >= 1 then
subtract 1 from tCounter
end if
end repeat
end mouseUp
Kind regards
Bernd
-
- Posts: 6
- Joined: Sat Jul 15, 2006 2:47 pm
Re: Move a label
TU works greatbn wrote:Hi Pauls 74462,
make a field (label field or any other) and a button.
set the script of the button toThere are other ways to tackle this but without further information this is one of them.Code: Select all
on mouseUp set the blendlevel of field 1 to 100 set the top of field 1 to 5 set the left of field 1 to 65 put 100 into tCounter repeat with i = 65 to 200 set the left of field 1 to i set the blendlevel of field 1 to tCounter wait 0 milliseconds with messages -- increase if too fast if tCounter >= 1 then subtract 1 from tCounter end if end repeat end mouseUp
Kind regards
Bernd