If you already know the number of the sprite you are interested in,
you could also do a repeated check of that sprite using "the
rollover", like ckeckin for sprite 5:
on exitFrame me
currentSprite = the rollover
if currentSprite = 5 then
-- do something with the color
end if
end
This might not feel 100% tight though, depending on your frame rate
and if the movie is having trouble keeping up with the current tempo.
-A.
>i want to give scripting facility to user by that he
>can make little changes in sprite property like color
>or position ect. for that i m useing the text of field
>"a" to the script of sprite 1.
>
>all is fine
>
>but when i use
>on mousewithin
>set the forecolor of sprite 1 to 6
>end
>
>its no effect
>
>but when i m use
>on mouseup
>set the forecolor of sprite 1 to 6
>end
>
>its work fine
>
>can't we give mousewithin command in our scripting
>text.
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]