flash can't find anything call galleryMsk. check your spelling/case and make sure galleryMsk is not part of a timeline tween and is named in the first keyframe in which it exists. if you have other (than the first) keyframe that contain galleryMsk the only sure way to solve that problem is to clear all the other keyframes and then readd them being careful to not remove galleryMsk from any of them.
using movie explorer toggle-on the 2nd icon only and search for galleryMsk. see if you have exactly one object with that name.
never mind the paragraph at the bottom of this reply, I just got it. I found the instance galleryMsk,
I can't upload the image now because of some strange reason,
but it is basically a symbol with a red dot under and it says "mask3, <galleryMsk>", like this:
- Symbol Definition(s)
- mask3, <galleryMsk>
It only showed the objects which are in my major scene, but all those layers are actually inside a movie clip called "buttons", I see "buttons" in the movie explorer, but I don't know how to search for the content inside...
is your code attached to a frame in the same timeline as the one that contains galleryMsk? if not, that's the problem: you need to use the correct path to galleryMsk, perhaps buttons.galleryMsk.
They are in the same timeline. Please refer to the image I uploaded in the first reply. The last frame of the AS layer is where my codes are.
But anyway, I tried buttons.galleryMsk. As expected it says undefined property buttons since it is already inside buttons....
remove the object you think is galleryMsk from the stage. re-add it and in the properties panel, assign its name, galleryMsk. retest.
I have done that for several times...nothing has changed....
Do you think it could be a problem of my computer or my program? Should I run the file on another computer?
that looks like a flash issue: an object can have, at most, one mask that can be referenced using actionscript.
convert both masks to a movieclip, assign an instance name, eg maskParent and use:
maskParent.galleryMsk and maskParent.homeMsk to reference your objects.
That's the problem!!
It works perfectly!!
Thank you very much!!!