FredericCox
%Europe/Berlin %605 %2005, 15:32
Hallo,
Ik roep landen aan,elk land is een instance (vb country1 = zweden, country2=engeland)
Nu krijg ik een leagueID als daar wedstrijden gespeeld worden en dan laat ik die landen zo oplichten:
_root.world["country" + LeagueID].gotoAndStop(2);
Nu werkt elk land behalve zweden. Is de instancenaam country1 niet toegestaan?country2,3,4 enz geeft geen probleem. Ik heb het nu zo opgelost maar vind het toch vreemd...country1 noemt nu countryOne
LeagueIDadj = LeagueID
if(LeagueID.toString()=="1"){
LeagueIDadj = "One"
}
_root.world["country" + LeagueIDadj].gotoAndStop(2);
Ik roep landen aan,elk land is een instance (vb country1 = zweden, country2=engeland)
Nu krijg ik een leagueID als daar wedstrijden gespeeld worden en dan laat ik die landen zo oplichten:
_root.world["country" + LeagueID].gotoAndStop(2);
Nu werkt elk land behalve zweden. Is de instancenaam country1 niet toegestaan?country2,3,4 enz geeft geen probleem. Ik heb het nu zo opgelost maar vind het toch vreemd...country1 noemt nu countryOne
LeagueIDadj = LeagueID
if(LeagueID.toString()=="1"){
LeagueIDadj = "One"
}
_root.world["country" + LeagueIDadj].gotoAndStop(2);