tiny code problem
Posted: Wed Oct 23, 2013 4:21 pm
I want to know the syntax for setting the objects at a certain start point when the user opens the card. This is as far as I can go:
Have searched PDF and other topics but can not find the correct syntax, have used all sorts of word combinations but this one eludes me....sorry, again it's a simple case of not knowing the correct question to ask, I am sure there is a reference somewhere.
on PreOpenCard
put/set/place grc "yellowOval" from/to/into/at 500,300 ???
put grc "RedOval" from 500,300
end PreOpenCard
on mouseUp
wait 2 seconds
set the lockMoves to true
move grc "YellowOval" from 450,330 to 530,69 in 240 ticks without waiting
move grc "redOval" from 450,330 to 100,69 in 200 ticks without waiting
set the lockMoves to false
end mouseUp
Have searched PDF and other topics but can not find the correct syntax, have used all sorts of word combinations but this one eludes me....sorry, again it's a simple case of not knowing the correct question to ask, I am sure there is a reference somewhere.
on PreOpenCard
put/set/place grc "yellowOval" from/to/into/at 500,300 ???
put grc "RedOval" from 500,300
end PreOpenCard
on mouseUp
wait 2 seconds
set the lockMoves to true
move grc "YellowOval" from 450,330 to 530,69 in 240 ticks without waiting
move grc "redOval" from 450,330 to 100,69 in 200 ticks without waiting
set the lockMoves to false
end mouseUp