actionscript question
actionscript question
Out of context: Reply #7
- Started
- Last post
- 11 Responses
- thatblokemike0
if you had class names for the counties then it would trace them when calling toString so just export each one as a class. I imagine at the moment its saying [ movieclip ]... I guess you'll still get the square brackets even when they are classes, get rid of them with a string operation. something like
var countyname:String = this.toString().split(" ")[1].toString().split("]")[0];