Hi Lingo list,
How can I move a transparent (circle) mask across a picture, like a
monocular view of a panorama. the picture fills the screen, the circle
is a roving eye.
I have used the mask ink to create the transparency, then I tried using
the RegPoint property, as mentioned on Lingo List, but can't seem to
control the circle, it seems to move where it wants to. very
frustrating. I am a novice lingo scripter, must be missing something
vital.
Please help.
maria
here's an example of my code..... don't laugh
on StartMovie
if the centerRegPoint of member"circle"= TRUE then
set the regPoint of member"circle"= point(0,0)
set the regPoint of member "circle" = point(407,385)
end if
repeat while the mouseDown = FALSE
set the rect of member "stromboli"= rect(0,0,0,0)
repeat while the regPoint of member "circle"< point (800,300)
the regPoint of member "circle" = (the regPoint of member
"circle") +2
updatestage
end repeat
if the regPoint of member "circle" = point(1400,300) then
repeat while the regPoint of member "circle" > 10
the regPoint of member "circle" = (the regPoint of member
"circle") -2
updatestage
end repeat
end if
end repeat
end
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]