At 07:53 2/12/2001, Vanden Broeck, Daniel wrote:
>My question is how can I make the rest of this miaw also transparant, If I
>push on the button the first onebit image needs to be replaced by the new
>one.
You can change out the window's mask as often as you like. I just did a
crude test in which the images and the 1-bit masks were both animated -
showing the desktop behind the window & it worked OK. It's probably not
really suited for animation - at least not with images at the size I
tested, but it works great for occasional swaps. I do have a project where
I'm swapping the mask as needed to show more or fewer buttons in the MIAW.
If you're controlling this from a script in the stage, then be sure to
'tell' the MIAW to swap members. As Quixadá mentioned in a similar thread,
you would need to keep the mask members in the stage's cast - or in a
shared cast.
Another method is to 'tell' the MIAW to execute a handler. Then that
handler within the MIAW can reference the MIAW's internal cast members for
its mask.
Either way works.
--
Mark A. Boyd
Keep-On-Learnin' :)
[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!]