[MX] Validation Loops!

Hello!

I’m working on generating a dynamic menu from a WDDX data set, and I’m having a little difficulty with looping through the information.

What I’m trying to do is: if this city = last city, attachMovieClip A. if this city != last city, attachMovieClip B. that works fine, but…

What I need to do is figure out a way not to repeat a duplicate record… the way it is now, if this city and last city match, it will place movie clip A, which is good, but if there are three instances of the same city, it will place three movie clip As.

Any ideas on what sort of looping I’d need to do not to repeat records, yet still place the delightful movieClip A on the stage?

Thanks in advance!

lrhb :hat: