Funciona! Muchas gracias!
Código:
function iconsOut()
{
var icoNum = 0;
checkPhoneType();
if (isWalkman)
{
removeMovieClip(_root.walkman);
}
else if (isCybershot)
{
removeMovieClip(_root.cybershot);
} // end else if
removeMovieClip(_root.deselectedIcons);
removeMovieClip(_root.selectedIcons);
for (row = 1; row <= 4; row++)
{
for (col = 1; col <= 3; col++)
{
++icoNum;
newClip = "clip" + icoNum;
removeMovieClip(_root.newClip);
var iconName = _root["_IconName"];
with (_root[newClip])
{
_x = col * 70 - 20;
_y = row * 58 + 19;
if (iconName == "MEDIAPLAYER_DESKTOP_ICN" && isWalkman)
{
removeMovieClip("des" + icoNum);
removeMovieClip("sel" + icoNum);
}
else
{
removeMovieClip("des");
removeMovieClip("sel");
} // end else if
if (deselectedIcons["des" + icoNum] == undefined || selectedIcons["sel" + icoNum] == undefined)
{
removeMovieClip("des" + icoNum);
removeMovieClip("sel" + icoNum);
} // end if
icoNum = icoNum;
} // End of with
iconName = null;
} // end of for
} // end of for
icoNum = null;
};