Hi Guys,
Can you take a look at the following;
basicly every time the
displayDetails() is called, a new class called playerHighlights
is added to the stage. This works fine.
However, when the displayDetails class is run again, I wish to remove the existing
playerHighlights from the stage. YOu can see from the playerHighlights method that values are been passed through,
but i have taken out some code to make this easy.
Any takers ?
function displayDetails(event:Event):void
{
var pe:playerHighlights = new playerHighlights(thisTeam,playerNumber);
addChild(my_mc);
my_mc.addChild(pe);
}