-
closeWindow script?
Hello folks.
I have a button (on stage) using this script to open a movie clip (called from the library):
on (release) {
blankMC.attachMovie("atlas", "fakeName", 1);
}
It works perfectly. However, I have to close the window. So I made a little "close" button that is on the movie clip that is called from the library. I can't seem to make amything work, so I need some advice. Can anyone recommend a script that will close my movie clip?
Thank you.
pug
-
2 ways ..
... either make the root movie go to some other frame ..
.. or ... make the visibility zero of the blankMC.
-
on(release){
_root.blankMC.fakeName.removeMovieClip();
}
-
Thank you both for your time!!
However, the script supplied by iaskwhy did exactly what I needed. I tried something similar to that, but I really don't know what I'm doing!!!
THANK YOU MANY TIMES OVER!
pug
-
When you have some extra time, open flash and make sure the Reference panel is open. Look on the left, and open the bottom Index folder. Then just start at the top and click each one and read the description for it. Even if you don't understand them all yet, you will eventually, and going through them all will kind of set them in your mind. :)
It's the first place I look now for code that I don't know or remember.
-
I didnt know that was there!!
Thats great advice....thank you!!!