|
-
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.
Theres a Devil inside us all .. only, some are afraid to bring it out !
-
Registered User
on(release){
_root.blankMC.fakeName.removeMovieClip();
}
Last edited by iaskwhy; 10-20-2003 at 10:27 AM.
-
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
-
Registered User
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!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|