I have a Listbox, where I assign attributes dynamicly.
Everything works quite well, but the assignment of a eventhandler for the change event (other, less usefull, work this way)
her is my code
If I put the list component on stage, and insert the event into the components script, it works - but it needs to be dynamic.
Maybe it needs to be written differently - but I tried many versions.
I NEED A HINT