Okay I have searched as much as I think I can search here, and I know this is extremely simple, yet I am stuck on it.
I wanted to try and use setMask with images loaded into my main movie using loadMovie command. I even found this thread here:http://www.kirupaforum.com/forums/showthread.php?t=78137&highlight=masking
but was having trouble getting that to work, so I am simply attempting to use setMask with a movieclip actually placed on the mainstage of my movie.
I can’t even get this to work!! I have tried several combos including these:
(the name of the image mc is building and the mask is mask_mc)
onClipEvent (load) {
building.setMask(mask_mc);
}
onClipEvent (load) {
building.setMask(_root.mask_mc);
}
onClipEvent (load) {
_root.building.setMask(mask_mc);
}
When I check the code in Flash it says no errors but when I test the movie I get this message in the output window:
Scene=Scene 1, Layer=actions, Frame=1: Line 2: Unexpected ‘}’ encountered
}
I don’t get what is happening and I know it is simple.