Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




RemoveMovieClip Stupid Problem



Hello again kirupians. I never thought a day like this would come for me. I mean... asking for help removingMovieClip form stage. You think this is easy???? SO. I have a piece of code... that worked for a while. I'm creating MC's through attachMovie command from library and I have a function that when it's called was supposed to remove all the MC that had the name starting with "lc".
ActionScript Code:
function hideLoadButtons() { trace("Hiding all buttons !!!"); //ready2load = false;//this is not important for (var x in _root) {  if (_root[x]._name.substr(0, 2) == "lc") {  _root[x]._alpha = 30;   removeMovieClip(_root[x]);  } }}
Of course I replicated the problem in a new file... creating dozens of mc with script and then removing either using the removeMovieClip as a method, either as a function... i mean...removeMovieClip(mc_to_remove);ormc_to_remove.removeMovieClip(); Both Worked just fine.Furthermore... you could think that in the above function there could be something wrong with the names / paths??? BUT.. it's really not.. because when the function it's called, all the mc's turn to 30% alpha. This is driving me nuts... So.. I beg you... if anyone has encountered this before, please respond here. Any ideea would be much appreciated . What could prevent the movieClip from beeing removed off the stage??? (



KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 05-09-2005, 07:18 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

RemoveMovieClip Stupid Problem
Hello again kirupians. I never thought a day like this would come for me. I mean... asking for help removingMovieClip form stage. You think this is easy????

SO. I have a piece of code... that worked for a while. I'm creating MC's through attachMovie command from library and I have a function that when it's called was supposed to remove all the MC that had the name starting with "lc".


ActionScript Code:
function hideLoadButtons() { trace("Hiding all buttons !!!"); //ready2load = false;//this is not important for (var x in _root) {  if (_root[x]._name.substr(0, 2) == "lc") {  _root[x]._alpha = 30;   removeMovieClip(_root[x]);  } }}


Of course I replicated the problem in a new file... creating dozens of mc with script and then removing either using the removeMovieClip as a method, either as a function... i mean...
removeMovieClip(mc_to_remove);
or
mc_to_remove.removeMovieClip(); Both Worked just fine.
Furthermore... you could think that in the above function there could be something wrong with the names / paths??? BUT.. it's really not.. because when the function it's called, all the mc's turn to 30% alpha. This is driving me nuts...

So.. I beg you... if anyone has encountered this before, please respond here. Any ideea would be much appreciated .
What could prevent the movieClip from beeing removed off the stage??? (

Stupid Question Coming From Stupid Newb...
Yeah, I know this is probably the stupidest question you're ever going to here, but I'm desperate and I can't find out anywhere, so as embarassing as it is, this is my last resort.

How do you increase or decrease the thickness of lines in Flash MX?

Stupid Workspace Changing After I Save It (Or Stupid Me)
I have a dual-monitor setup and I have my timeline, stage, and properties panel on one monitor. That's all fine.

On the other monitor, I have the actions panel in one group and about 3 panels grouped into another group. The actions panel takes up the left 2/3 of the screen and the other panels take up the right 1/3 of the screen. That works fine.

I want to switch the actions panel with the other group of panels, so that the actions is on the right 2/3 of the screen and the other group of panels are on the left 1/3 of the screen. Problem is when I save my workspace layout, it somehow defaults the actions to the left side of teh screen and the other panels to the right side of the screen! It's driving me crazy. Anyone have any tips? Run into similar problems?

Stupid Question,,, But Feeling Stupid
why wont " ' " show up in my text which is dynamically imported from an html formated text file.

i know that " means " but what is a single quote?

helllppp

Stupid Employer, Stupid Question
hey there. my current employer currently has a header on an html page with a banner inside it. it looks like crap but his "web guys" have told him that the banner must stay in the exact place that it is otherwise it will destroy his flux capacitor or something along those lines. so im stuck trying to design a flash header for this guy with an animated gif banner inside of it. kinda like the gif banner is the hole in the donut. i guess my question is how do i leave the hole in the donut blank for the gif to be tossed into it without having to make 8 "sliced" flash movies that work together? sorry and i know theres an easy way to do this, i just havent touched flash in a few months and im rusty as all tarnation. thanks in advance

Stupid Question Hopefully Not Stupid Answers
I have put a trace on a variable that i use as a counter in a loop.
Everytime the loop in initialized it shows "undefined" before counting.
Can I ignore this or will it have some future impact on my work????

Stupid, Stupid, Stupid Question
But I need to know.

I'm learning actionscript.

How come sometimes the script is placed in ( ) and sometimes in [ ] what does each mean?


ex. (if move ==1)

or _root.Array [_root.arraysize]

thank you

Set Variable Stupid.user="stupid Question";
right... i got a bit of help with this yesterday but i need some more now....

lets say i have 1 button with 10 instances of it in a movie.
when you point to each instance, i want different text to hover over it.

with help from someon on here yesterday, i have now set up a dynamic text field on the 'over' frame of the button, and i have done the set variable lines saying:
button1.text = 1 banana
button2.text = 2 bananas
button3.text = 3 bananas
and so on, but i don't know how to tell each instance of the button what button it is.... so in other words, how do i tell button 1 that it is button 1 and button 2 that it is button2, etc?

Stupid Says As Stupid Does (variables)
I have an actionscript question::
I need to pass variables from html to flash but have run aground......
in the html :
username='ted'
in the flash movie
button action: http://www.happy.com/username

(obviously the username is equal to 'ted')

How do I do this????

please respond w/ a solid answer - 'cause boy it looks easy , but man am I stumped!!

Thanx

Stupid Stupid Preloader
I have a simple preloader animation that is suppossed to loop as my main page loads (take note, this IS NOT a progress bar!!).
As the animation is looping, the percentage of the movie loading is suppossed to be displayed. However the preloader never advances past the first frame in the preload scene (I'm keeping the preloader in its own scene to keep from adding keyframes to every layer in the main scene).
Here is the scripting I'm currently using:
Preload scene>>
frame 01:

percent = Math.floor(getBytesLoaded()/getBytesTotal()*100);
myOutput.text = percent + "% is loaded";

frame 02:

if (percent == 100){
gotoAndStop(3);
}else{
gotoAndPlay(1);
}

frame 03:

gotoAndPlay ("xscene:, 1)

Is there something missing? Something I did wrong? Help!!

Stupid, Stupid Masking.
Im kinda at a loss, and am thinking my problem lies somewhere in the software.

Im trying to animate a mask over a button. The mask works but the button is having issues. Whenever the animated mask hits one of its keyframes, the button stops working for (1) frame; ie, the up state becomes visible for (1) frame. Kinda sucks if you happen to be pressing or rolling over the button at the time.

The mask isnt a gradient or a symbol, just a crappy shape that moves.

Anyhow, when I publish the movie in Flash6 it works just fine but anything less and I get the glitches. Is there a workaround or something?

Removemovieclip, No Can Do
hi
im using this to duplicate a movie clip in frame one.
at frame 30 i want to remove the duplicated clips from the stage.
ive tried using the removemovieclip command but i dont think im using it properly.
here is the code.

for (i=4; i>1; i--) {
duplicateMovieClip ("text", "text"+i, i);
_root["text"+i]._alpha = 10+5*i;

}


at frame 30 ive used variations of

_root.text.removeMovieClip();
gotoAndStop (45);


how do i remove it?
thanks

RemoveMovieClip ..
Hi,
i have made a web site with flash 4 and cold-fusion,
and now i have to translate it in flash 5.
But, all my "removeMovieClip" statement dont work with flash 5. The movie-clip stay and dont disapear but that work with flash 4.
Does someone know why and how to solve my problem ?
Thanx
Mallice.

RemoveMovieClip
I have attached a movie clip to a custom cursor which exists in the main timeline, with the following code:

_root.cursor.attachMovie("questionCursorLink", "questionCursor", 0);

That works great.

I want to remove the same movie clip from my custom cursor in another frame, so I attached the following code to an empty frame:

_root.cursor.removeMovieClip("questionCursorLink", "questionCursor", 0);

That DOESN'T work so great.

I am VERY new at the actionscripting thing, and don't know where to go from here. Any suggestions?

RemoveMovieClip Help Req..
If someone has time, could you give me the lowdown own how to target clips duplicated with duplicateMovieClip so I can remove them with removeMovieClip.
Thanks
m

RemoveMovieClip
Go to http://209.224.6.14:60430/MichelleSt...in_final3.html

There is a sample from a book called "Flash 5 Magic with ActionScript" I'm using examples to teach in a Flash Class.

I'm trying to get the code to wear when a user clicks on a different choice it replaces the item she was wearing, instead of clicking on the word NONE in the menu choices.

The actual code is posted to this page http://209.224.6.14:60430/MichelleSt...penny/code.htm

Thanks,

teachany
http://www.pressany.com
http://www.teachany.com

RemoveMovieClip ?
I use this function:

duplicateMovieClip(...etc...);

and want a way to remove that movie clip once it has completed playing all it's frames. I tried putting a "removeMovieClip(this);" and a "this.removeMovieClip();" and both don't "seem" to work. What am I doing wrong?

When the movie clip hits the last frame...it just loops back and starts playing again from the first frame...

Any ideas? Thanx so much for the help!!

-Ryan

RemoveMovieClip Help
I'm building a game in which a button duplicates a drag movie clip. If the MC is dragged over any one of a series of targets it locks to the target and stops drag. If the MC is released outside it should be removed. However,the removeMovieClip command either removes the wrong instance or doesn't remove at all. Have I done something fundamentally wrong? See below

on (dragOut) {
x = x+1;
duplicateMovieClip("_root.blue", "bc"+x, x);
startDrag("_root.blue", true);
}
on (releaseOutside) {
for (i=1; i<=numpos; i++) {
partnum = "_root.part"+i;
if (_root.blue.hitTest(partnum)){
stopDrag();
_root.blue._x = eval(partnum)._x;
_root.blue._y = eval(partnum)._y;
break;
} else {
removeMovieClip("bc"+x);
}
}
}

Help With RemoveMovieClip()
Hi everyone,

I am almost finished with my UrbanPlan project, which allows users to drag different building structures onto a map and print the design, but I am experiencing a major problem with the Clear All button that is to remove all duplicated MCs. This is the last step I need for my project. Please help! Here is the link to the test file:

http://sqlin_1.tripod.com/test/HelpClearButton.zip (Right click... Save As...)

In my fla file, I have a MC called ¡°component library¡± which contains 2 other MCs, namely ¡°office¡± and ¡°residential¡±. For example, in ¡°office¡± MC, there are two types of office buildings, lowrise and midrise. I made graphic symbols for lowrise and midrise, and set the Linkage Property on them. For example, I gave the symbol ¡°lowrise¡± a linkage identifier: lowrise1a¡±. Then I dragged the ¡°lowrise¡± symbols onto the ¡°office¡± MC, and convert it to a MovieClips with an instance name ¡°original-lowrise1a¡±. Then I went into the ¡°original-lowrise1a¡± MC, and defined the following frame action:

this.xHome = this._x;
this.yHome = this._y;

this.onPress = startDrag;
this.onRelease = this.onReleaseOutside=function () {
stopDrag();
if (this._name == "original-lowrise1a")
{
_root.d++;
var myDupe = _parent.attachMovie("lowrise1a", "lowrise1a"+_root.d, _root.d);
myDupe._x = this._x;
myDupe._y = this._y;
this._x = this.xHome;
this._y = this.yHome;
}
};

So far, this is all working just fine. The pieces are duplicated and draggable. However, I also want a ¡°Clear All¡± button in "compoentLibrary" MC that removes all building structures from the map, and here is where I have a major problem. On the button, I tried the following action:

on (release) {
for (var i = 1; i<=_root.d; i++) {
_root["lowrise1a"+i].removeMovieClip();
_root["midrise"+i].removeMovieClip();
}
}

It¡¯s not doing anything. I suspect it¡¯s probably because the ¡°original-lowrise1a¡± MC is several levels down from the main scene, and the ¡°Clear All¡± button need to address the correct MC in order to delete duplicated MCs. I have no idea how to achieve this. Namely, I want to go through each MC (original-lowrise1a, original-midrise, etc) and remove all subsequent MCs generated by them. Can someone please help? Thank you!!

RemoveMovieClip
this one always confuses me. i can never get it to work right

heres me code:

Code:

//slogan array
words = new Array
words[0] = "lovesMe"
words[1] = "lovesMeNot"
arrayLength = words.length;
currentPosition = Math.floor(Math.random()*2);

function randomText(){

nextPosition = currentPosition + 1;
if(nextPosition == arrayLength){
nextPosition = 0;
}

attatchWordsHere.attachMovie(words[nextPosition] , words[nextPosition] + 1 , 1);
currentPosition = nextPosition;
//trace(currentPosition);
//trace((words[nextPosition] , words[nextPosition] + 1 , 1));
}


//to reset the petals nad slogan
function resetPetal(){
//this here doesnt work
//currentPosition = Math.floor(Math.random()*2);
//for(n=0; n<nextPosition+1; n++){
attatchWordsHere.removeMovieClip(words[nextPosition] + 1 );
//attatchWordsHere.removeMovieClip(words[1]);
//_root.attatchWordsHere[words[n]].removeMovieClip();
//}
//trace(n);
}

RemoveMovieClip
why is this command
removeMovieClip(this);
removing MC that this command is within and all copies of that MC made by duplicateMC??

Help With RemoveMovieClip
I want to duplicate a movie clip, then have a button that removes all the duplicates. On the mc, I put this:

onClipEvent(load){
function sectionReplicate(){
btn_x = 38;
btn_y= 78;
i = 2;
total=4;
while(total > 0)
{
attachMovie("blue","blue"+i,i);
current_y = btn_y;
section=eval("blue"+i);
section._y = current_y;
section._x = btn_x;
i++;
total--;
btn_y += 45;
}
}
sectionReplicate();
}

I made a function to remove the movie clips, but when I call the function (on press of a button) nothing happens. Here's the function:

function sectionDelete(){
i = 2;
total=4;
while(total>0){
buttonPath = "_root.blue"+i;
removeMovieClip(buttonPath);
i++;
total--;
}
}

Any help appreciated --
Brig.

RemoveMovieClip...
I have a script that creates a fractal image with lines on the screen whenever this button is pressed, and the actions on the button are:

on(press){
for (i in _root){
removeMovieClip(_root[i]);
}
_root.num=0;
_root.fractal(x1,y1,x2,y2);
}

i'm trying to loop through the mc's i created on the previous run of the fractal function, and remove each one, so i can make another image without having the previous one stay on the screen... the clips are getting removed, but the lines don't disappear... any ideas?

dave

RemoveMovieClip
I'm trying to make a spaceship game. But the problem is i cant get the enemy to die when it gets shot. I used a hitTest to see if the bullet hits the enemy and it does...but the problem is, I cannot get this one line of code working..

Code:
if(hitTest(_root.glob1))
{
this.removeMovieClip();
_root.glob1.removeMovieClip();
}

this is inside the bullet MC.

The bullet is removed but not the "glob". Can anyone give any suggestions? Any help is great!!Thanks

RemoveMovieClip - HELP
I am making an asteroids type game and I want to know how to delete the laser MC after the laser goes outside the box. Can anyone help me?

Here is the .fla for the game:

http://www.1matthew.com/SS.zip

Please help!!!

RemoveMovieClip()
Hi,

Can someone please explain to me what the difference is between these lines of code - and why one works and the correct object orientated method doesn't?




Code:
targetButton = this["inv_"+i+"_btn"];

removeMovieClip(targetButton);//this works

targetButton.removeMovieClip();// this does not


this code is in a For loop


Thanks

Devo

RemoveMovieClip
Hello All,

I am trying to create this small paint tool with Flash MX. When I hit clear button, I can clear everything except the draggable cartoon characters. I'm trying to use the removeMovieClip command in the function clearContent() in the controller movieclip for these characters but it is not working.

Thanks in advance,
shilpi

Removemovieclip Help
how does it exactly work

RemoveMovieClip()
Hey FK! Need to find out why after 2 seconds ArrowMC isnt removing itself from my movie... Any help greatly appreciated.


Code:
function timeout(when){
if (!countdown){
countdown = getTimer() + when;
} else if (getTimer() > countdown){
countdown = false;
return true;
}
}

this.onEnterFrame = function(){
if(timeout(1000)){
attachMovie("ArrowID","ArrowMC",10);
delete this.onEnterFrame;
} else if(timeout(2000)){
removeMovieClip(ArrowMC);
}
}
thanks
Geoff

RemoveMovieClip?
Hello I'm having trouble removing movie clips!

I have buttons with this script on it:

on (press) {
attachMovie("mov1", "mov1", 5);
}

to call my MoviClip. That works!

But I want that movie clip to be remove if the user click on an other button to start an other MovieClip!
I've tried:

on (press){
removeMoiveClip("mov1");
}


I've also tried:

on (press){
removeMoiveClip(level5.mov1);
}

Anyway I've tried a bunch! I just don't know what I'm doing wrong!
Thanks!

RemoveMovieClip
Hi,

I've got 5 clips attached to a parent clip which is attached to another, and then to _root.

I'm trying to delete them with the following lines

ParentClip[name[i]].removeMovieClip();

but its not working, could the reason have to do with depths?

thanks

phil.

RemoveMovieClip Help
how to remove movie clip after it has completed the text animation ?
thanks

Removemovieclip Help?
hi, i'm sure this is very straight forward but i can't seem to do it.

I have an MC in my library that contains a button.

I have used the attachmovie to add this mc to scene and then i want to be able to click the button and for the movie to be removed.



Code:
attachMovie ("test1","test2",9)

adds the movie fine.

then i have opened up test1 object and placed this on the button..

Code:
on (press){
removeMovieClip("test2");
}


but it won't remove the clip!! any ideas. thanks.

RemoveMovieClip
I want my mc to be removed when lifet is lower than 1.

Why does this not work?

if (lifet < 1){
terrorB.removeMovieClip();

lifetb = 0
}

RemoveMovieClip
I want my mc to be removed when "lifet" is lower than 1.

Why does this not work?

if (lifet < 1){
terrorB.removeMovieClip();

lifet = 0
}

RemoveMovieClip
OKay... long story short:

I have an instance of a button that comes up when the variables are checked to be true. the button is supposed to move the root to the next place on the timeline (which it does) and remove itself from the level in which it resides (which it does) but I have written in the button for it to also remove the other movie clips on the stage and it will not do this. where am I wrong in my AS?

Please Help its important

onClipEvent(load){
this.onRelease = function(){

_root.gotoAndStop("question"+(_root.currentQuestio n +1));
_parent.sixtyRunning.removeMovieClip();
_parent.hundredRunning.removeMovieClip();
_parent.removeMovieClip();
}
}

Thanks

RemoveMovieClip
Hey I am jsut having some trouble with this tryign to get removeMovieClip(this) to work, I put that on the last frame of an animation inside a movieclip and it doesn't remove it, could it be because there are other multiple movieclips inside it? Here is the fla I was just messing around with, inside the "mc" on last frame it says this._visible = false; which is just an easy fix for now any suggestions?

BTW All the options are in the context menus

RemoveMovieClip
i have some buttons dynamically created using this script:

numLinks = n;
numCol = 2;
for (i=0; i<numLinks; i++) {
links = _root.attachMovie("link", "link"+i, i);
var h = link0._height+1;
var w = link0._width+5;
links._x = 175+w*(i%numCol);
links._y = 70+h*Math.floor(i/numCol);
links.description.text = fields[i];

I can't remove movieclips created.
i try with:

for (i=0;i<10;i++) {
_root["links"+i].removeMovieClip()
}

How can i remove them?
thanks !

RemoveMovieClip
removeMovieClip(_parent.square5);

That works great, but I want to remove all movie clips with the name square+i... I have tried several things, but for some reason I can't get all my squares to vamooos!
Cheers,
P.

RemoveMovieClip()?
i've included my program. you may not need to look at it. just explain to me how removeMovieClip() works, and why it wont remove one of my movieclips. Maybe this should be in the n00b forum. I hate self-teaching.

RemoveMovieClip()
I have a similar set up as below in my working file but here I have set up a little experiment to see why the variable holding the mc to be removed shows up as blank in a trace after it has been removed shouldn't it show up as undefined.


Code:
arr = [];
count = 0;
butt.onRelease = function() {
count++;
trace("COUNT :"+count);
loadContent(String(count));
};
function loadContent(cont) {
switch (cont) {
case "1" :
trace("CONT :"+cont);
removeMovieClip(arr[0]);
c = mainClip.attachMovie("contentClip2", "contentClip2", mainClip.getNextHighestDepth(), {_x:181, _y:186});
arr.splice(0);
arr.push(c);
break;
case "2" :
removeContent(arr[0]);
c = mainClip.attachMovie("contentClip", "contentClip", mainClip.getNextHighestDepth(), {_x:181, _y:186});
arr.splice(0);
arr.push(c);
break;
}
}
function removeContent(mc) {
trace("mc:"+mc);
removeMovieClip(mc);
trace("full Path :"+_level0.mainClip.contentClip2);
trace("mc:"+mc);
if (mc==undefined) {
trace("DELETED");
}
The only way I can get it to show as undefined if I feed it the full path again.

The reason I’m trying to get this to work is there will be an onEnterFrame running please don't ask why far too complicated.
I don't see why the variable mc would not also show as undefined seen that it has the full path to the clip too.

Please anyone can they answer this please.

Please remember this is just an example to show others why the variable mc is not showing up as undefined after it has been removed

RemoveMovieClip?
Does anybody know if there is a way to completely remove a movie clip from existence? As far as I can tell, there used to be a removeMovieClip(mc) and mc.revoveMovieClip commands in Flash 5 but they don't work anymore. I dunno. Any light shed on the subject would be greatly appreciated. Thanks [sorry, I accidentally posted this in the wrong section. If you want to respond go to the 'actionscript' thread]

RemoveMovieClip
Does anybody know if there is a way to completely remove a movie clip from existence? As far as I can tell, there used to be a removeMovieClip(mc) and mc.revoveMovieClip commands in Flash 5 but they don't work anymore. I dunno. Any light shed on the subject would be greatly appreciated. Thanks

RemoveMovieClip?
I'm using this snippet of code
onClipEvent(load){
this.duplicateMovieClip("strip2",1);
}
this works great, but when my maintimeline progresses the MC "strip2" still duplicates itself even though it's not on the stage.

Is there a command to get this to unload permenntly either on button click or just a main timeline action?

Thanks for any help in advance

Cant RemoveMovieClip S
hi there

I've got a for loop that creates 3 movie clips on the stage at any one time using duplicateMovieClip as below

numberofclips=3;
for (i=2; i<=numberofclips; i++){
instance.duplicateMovieClip( "instance"+i, i+100 );
}

i want to go to a later frame and remove all these dynamic clips, but I can only seem to get rid of one of the clips using removeMovieClip();
: (
do I need another loop to remove them all?

RemoveMovieClip
iv got this set on a button to remove a movie, theres no action script errors but it remains on the stage when i play the movie. any ideas why? heres the code iv used:

on (press) {
myobject.data.user = mytext;
myobject.flush();
}

on (press) {_root.play()}

on (press) {_root.letter_mc.removeMovieClip()}

RemoveMovieClip ?
On frame 10 I have this code:

Code:
_root.stop();
//move the cover plate
_root.coverPlate_mc._x = -300;
//add the cover ring
_root.attachMovie("ring_mc", "RC", 20);
_root.RC._x = 4;
_root.RC._y = 73;
//add the open-close sequence
_root.attachMovie("open_mc", "MC", 10);
_root.MC._xscale = 34;
_root.MC._yscale = 34;
_root.MC._x = -32.1;
_root.MC._y = 65.3;
//add the gman
_root.attachMovie("gman1_mc", "GMAN", 5);
_root.GMAN._xscale = 30;
_root.GMAN._yscale = 30;
_root.GMAN._x = 37;
_root.GMAN._y = 90;
on frame 11 have this code:

Code:
_root.stop();
_root.MC.removeMovieClip()
trace("frame 11");
//add the close sequence
_root.attachMovie("close_mc", "MC", 10);
_root.MC._xscale = 34;
_root.MC._yscale = 34;
_root.MC._x = -32.1;
_root.MC._y = 65.3;
I know it's been long day when I can't figure this out. When I enter frame 10, the open_mc animation plays, when I enter frame 11, the open_mc should be removed and the close_mc attached, but the close_mc animation won't play.
Niether the open or close mc's have any script, there simple tweens. Why won't the close_mc, play?

How Thorough Is RemoveMovieClip()?
I have a movieclip (created with actionscript) which contains a number of movieclips inside it (also created with as) who each have onRollOver, onRollOut and onRelease functions.

My question how clean is it to just remove the parent clip? Does it clear all the memory used by the subclips and their functions or should I delete each function and remove each subclip before removing the parent clip?

RemoveMovieClip()
So, I have something like

removeMovieClip(_root.bomb1)

And, the bomb looks like it goes away, but then it still activates the hit-test for some reason! I assumed that when you removed a movie clip it could no longer trigger a hit-test? Sorry if I'm being dense. Thanks!

This is on both Flash MX and Flash MX 2004.

Copyright © 2005-08 www.BigResource.com, All rights reserved