You have the answer in your question ! ;) "I create a listener at level0"
If you know the level of your listener, then you should use it to reference it in your function calls. But all that depends on how your projects is built. Is your code on _level0? is it loaded in another swf ? Etc ... So to return to the question, You should try this : _level40.my_cb1.addEventListener("change",_level0.comb_fill); (or use this.comb_fill instead of _level0.comb_fill) So you are sure to send to right reference of your listener to the other combo_box in the right scope ... Haven't tried it but I believe this should work ! Bonne chance ! Alain -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Laurent CUCHET Sent: 19 octobre 2006 11:30 To: Flashcoders mailing list Subject: [Flashcoders] >> Event Listener and Levvels I create a listener at level0 How can I do to apply the action with another level component ? var comb_fill:Object = new Object(); comb_fill.change = function(evt2:Object) { //action }; my_cb.addEventListener("change", comb_fill); _level40.mycb1.addEventListener("change", comb_fill);// doesnt work Thank you very much _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.6/486 - Release Date: 2006-10-19 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.6/486 - Release Date: 2006-10-19 _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com