# Clearing a remote MC

**URL:** <https://forum.kirupa.com/t/clearing-a-remote-mc/5827>\
**Category:** flash\
**Created:** [September 23, 2002, 3:57am UTC](https://forum.kirupa.com/t/clearing-a-remote-mc/5827 "2002-09-23T03:57:23Z")\
**Posts on this page:** 12\
**Page:** 2

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 24, 2002, 3:18am UTC](https://forum.kirupa.com/t/clearing-a-remote-mc/5827/21 "2002-09-24T03:18:02Z")

</div>

\<critique\>You should have the Welcome to Hillcrest info as an intro to the site.

Maybe have a normal index page open with the message about the flash player etc. and have the intro stuff on that, then another link that opens the main site in a no scroll or resize window.

My art is rubbish - but I noticed that you go from brighter colours to softer - when you go to the volunteer alley and the links disappear when you move the mouse off them.\</critique\>

Well, from not knowing how to load and unload movies you’ve certainly come a long way ![](http://flex.funkyolive.com/im/cool.gif).

The functionality is there, just work on the presentation - like I said my colour preferences are funky - so don’t take too much advice from me re. that.

Also some people may not have their email client set up properly, so think about a contact form, and maybe use a flash form for a subscribe list.

It’s simple to browse aswell and that’s good.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 24, 2002, 4:46am UTC](https://forum.kirupa.com/t/clearing-a-remote-mc/5827/22 "2002-09-24T04:46:34Z")

</div>

Thank you so much, the positives mean a lot to me.

Yes, you are right, I to am not an artist, I am surprised I even spelled it correct right there… lol

Contact form - I have some ideas and even had one in there, it is just the backend that kills me. I have not been able to get a cgi or other style to carry the data anywhere, so I went back to the email link until I learned how to make the backend work. I want to do an entire volunteer form within the movie. I can build the form, bit will need help to make it work.

I have to do some reading on a loader style page to introduce the site, I never thought about the intro stage within the main stage, good idea!  
The site is used by a Parent teacher organization, and they said they wanted color. I will see what they say about the setup.

No Scroll or resize window? got me on that one, how to do??

Thanks for sharing the good with the constructive, that is great feedback.

Later…🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 24, 2002, 7:53am UTC](https://forum.kirupa.com/t/clearing-a-remote-mc/5827/23 "2002-09-24T07:53:59Z")

</div>

2 things off topic[list][_]Yeah, why do so many people choose that dude with a beard??[_]I think that you can removeMovieClip clips that have not been attached not duplicated. I have to check it before I say anything stupid[\*]And me45, nice start. Keep working, man[/list]pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 24, 2002, 12:24pm UTC](https://forum.kirupa.com/t/clearing-a-remote-mc/5827/24 "2002-09-24T12:24:27Z")

</div>

I don’t know why that dude is popular, but I do know that you can’t remove an mc, that hasn’t been attached or duplicated - you can set it to visible = 0, or move it off stage.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 24, 2002, 7:19pm UTC](https://forum.kirupa.com/t/clearing-a-remote-mc/5827/25 "2002-09-24T19:19:39Z")

</div>

Hey me45,  
Just a quick note on feedback forms - you can use PHP instead of CGI. I learned enough to make a serviceable feedback form. Do a googlesearch for “php feedback form” and you’ll get good tutorials and even some wizards that will write for you. Modify this code in an ASCII editor like textpad, SimpleText, etc. and post to your site. Just make sure PHP is installed on your server - it’s free, so if not, ask your ISP to do so.

Besides not having email clients configured, it’s a good Web practice to use a form b/c:

1. looks more pro
2. trawlers can’t grab your email address off your site and add you to mailing lists - they never see the mailto address!

Hope this helps!  
JC

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 24, 2002, 7:26pm UTC](https://forum.kirupa.com/t/clearing-a-remote-mc/5827/26 "2002-09-24T19:26:02Z")

</div>

Spam robots grabbing emails are a prob but I’m not sure if they can nab emails from swf’s.

And I use a PHP form on my site - much easier to use than Perl, and only needs a couple of lines of PHP code.

There should be tutorials for it on this site, if not heres one that I learnt from. I added some more actionscript to it, but as it is, it’s pretty good:

[http://www.actionscript.org/tutorials/intermediate/php\_send\_mail/index.shtml](http://www.actionscript.org/tutorials/intermediate/php_send_mail/index.shtml)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 24, 2002, 7:29pm UTC](https://forum.kirupa.com/t/clearing-a-remote-mc/5827/27 "2002-09-24T19:29:19Z")

</div>

> \*Originally posted by flex \*  
> **but I do know that you can’t remove an mc, that hasn’t been attached or duplicated**  
> Oh yeah? Then watch this: 🙂

Put 2 clips on the scene, instance names _ball1_ and _ball2_. In the timeline:

```php
ball1.onPress=function(){
	ball2.swapDepths(106000);
	ball2.removeMovieClip();
	for (var thing in _root) {trace (_root[thing]);}
}

```

Test the movie and press ball1…

How’s that? 😛 I learnt it from Mama from [www.flashxpress.net](http://www.flashxpress.net) one of the most amazing flashers I’ve ever seen.

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 24, 2002, 7:35pm UTC](https://forum.kirupa.com/t/clearing-a-remote-mc/5827/28 "2002-09-24T19:35:59Z")

</div>

Right, I highly doubt they could grab an address out of Flash - I skipped that part!

JC:)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 24, 2002, 7:44pm UTC](https://forum.kirupa.com/t/clearing-a-remote-mc/5827/29 "2002-09-24T19:44:57Z")

</div>

Hmmm, but how would that would for a standard hit test, eg

if (this.hitTest(\_root.thing)) {  
\_root.thing.removeMovieClip(); // \<-- for attached or dupped mc  
}

Would you have to use swap depths with another dummy mc?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 24, 2002, 7:47pm UTC](https://forum.kirupa.com/t/clearing-a-remote-mc/5827/30 "2002-09-24T19:47:47Z")

</div>

And also - that site is in French. I no speaky francais ![](http://flex.funkyolive.com/im/cool.gif)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 24, 2002, 9:10pm UTC](https://forum.kirupa.com/t/clearing-a-remote-mc/5827/31 "2002-09-24T21:10:40Z")

</div>

```auto
// mama :: www.yamago.net :: removeMovieClip()
// =========================================
// allows you to remove instances of clips whether they are
// static or dynamic
// NB: no clip must exist at depth 1048575

MovieClip.prototype.removeMovieClipTmp = removeMovieClip;

MovieClip.prototype.removeMovieClip = function () {
    this._visible=false;
    this.swapDepths(1048575);
    this.removeMovieClipTmp();
}

```

You can check their games too, they’re awesome.

pom :asian:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 24, 2002, 10:12pm UTC](https://forum.kirupa.com/t/clearing-a-remote-mc/5827/32 "2002-09-24T22:12:39Z")

</div>

Thanks, pom, very useful…

[Previous page](https://forum.kirupa.com/t/clearing-a-remote-mc/5827.md?page=1)
