i have some buttons that are suppose to attach a movie clip on stage after you press it. This works perfectly, but after i mask it, the masking box blocks it so i can’t click on anything.
i hope you understood what i’m saying, and i’ve tried using the ‘setmask’ code, but that doesn’t work either.
you are masking your testbox. This means that anything in testbox will only be seen if under the mask. All duplicated clips are kept within the scope of the original. So if you duplicate your green box in testbox, the duplicate stays in testbox. This means the duplicate is being masked just the same as everything else in testbox.
Alternatives to this would be using setMask to control your masking or attaching your mox in root instead of in testbox or having the mask within testbox itself masking only the greenbox and not all of testbox
I think it really boils down to what you are trying to accomplish in the long run. What is it exactly that all of this is for and how should it function in the end.
its basically suppose to be something like the infinite menu except changed a bit on this site, except when you click on the buttons they duplicate themselves into like a big picture
Correct me if I’m wrong but you are trying to attach an instance of pic1 when you click the testBox button/moveclip. Like Senocular said you are attaching it inside your testBox movie in an area that can’t be seen through the mask. You can attach it the main timeline instead and avoid the masking issue.
Here’s an illustrated example tryinto show what was happening. When you mask something you can only see what is behind that shape. In this case it is the red rectangle labeled “Viewable Area.” You were attaching your pic1 movieclip outside of that area. Anything not within the viewable area, or behind your pink rectangle in this case, will not be seen.