I want to do a little X-ray routine,
I tried using masks, with the different layers in order under the top
layer, but it seemed I couldn't move the mask.
I wrote a little Lingo to do what I wanted, but it is very slow and
jerky cos it uses the copy pixel command.
Any suggestions on how to do this properly/better?
Routine as is stands is this:
(n.b. "Windoh" is under a "target" both of which have the "Follow Mouse"
behaviour. The "outer skin" is on the stage with the "target" and
"windoh" moving over the top. "XRay2" is a cast member that is not
currently on stage, but represents the parts underneath the "outer
skin")
====================================
on mousewithin me
h1=sprite(3).left-sprite(2).left
h2=sprite(3).left-sprite(2).left+member("windoh").width
v1=sprite(3).top-sprite(2).top
v2=sprite(3).top-sprite(2).top+member("windoh").height
member("windoh").image.copyPixels(member("xray2").image,
member("windoh").rect, rect(h1,v1,h2,v2))
end mousewithin
========================================
[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!]