Without being experienced with SMX components I would say I doubt it. You might want to place the code below inside the mm components parent onLoad handler. Methods do not clash when they are in separate classes
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Caygill Sent: Friday, 20 January 2006 3:18 PM To: [EMAIL PROTECTED] Cc: Flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Mixing SMX and MM V2 Components Hiya, Is it possible to mix SMX components and MM's v2 components? I seem to be having trouble detecting events after adding SMX components. Even a simple test of adding a MM button (btn) to the stage and using the following to add an event listener: lo = {}; lo.click = function(evt){ trace('target:'+evt.target); } btn.addEventListener("click",lo); Will suddenly fail if you drop the SMXTabPane tab component onto the stage! IS this because the smx.core.SMXobject has a function addEventListener? Thanks, Dave _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders