Hi all - I'd appreciate any help with the following situation:

I'm trying to attach movieclips based on choices made in a combobox. i.e. choice 1 attaches MC1, choice 2 attaches MC2 etc.

There can only be one of these movie clips attached at any one time, i.e. if I choose 1 and then 2, MC1 needs to disappear and be replaced with MC2.

To make things easy, I'm instantiating the clips with the same instance name "criteriaDetail".

Now to the problem:

I have a function that checks whether criteriaDetail exists, and if it does it removes it using removeMovieClip() and replaces it with attachMovieClip().

Only... the removeMovieClip doesn't work! It works fine if the clip is empty, or contains just a square or any other old object, but if it contains an FComboBox component, IT WILL NOT DIE!

Can anybody explain to me why this is, and how to get rid of a clip that contains a combo box?

Code for the function below:

<snip>

if(_root.criteriaDetail){

_root.criteriaDetail.removeMovieClip();
trace(_root.criteriaDetail._x)

}

_root.attachMovie(_root.criteriaChosen , "criteriaDetail", _root.LCounter +=1);
_root.criteriaDetail._x = 10;
_root.criteriaDetail._y = 70;

</snip>

Thanks,

Oliver