I've tried it and it works fine and as expected.. you must have an error somewhere else... Can you post more of your code ?
2006/11/22, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
Anyone know why this doesn't work? a_presets1=[5,6,1,6,4,8,5,6]; this.dispatchEvent({target:this, type:"Presets", o_presets:a_presets1}); //my listener function: function Presets(evtob){ var a_presets=evtob.o_presets; trace(a_presets); //a_presets traces out undefined } [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca -------------------------------------------- "...all improvisation is life in search of a style." - Bruce Mau,'LifeStyle' _______________________________________________ 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
-- Julien Vignali _______________________________________________ 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