Out of curiosity, what is "presets"? If it's a constant array, why not
just make it a static var of a class? If it's unique to the dispatcher
instance, why not use it as a property and access it in the listener
as MyDispatcherClass(event.target).presets? (If neither is the case,
forget I said anything.)

On 11/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

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'
_______________________________________________
[email protected]
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



--
T. Michael Keesey
Director of Technology
Exopolis, Inc.
2894 Rowena Avenue Ste. B
Los Angeles, California 90039
--
The Dinosauricon: http://dino.lm.com
Parry & Carney: http://parryandcarney.com
ISPN Forum: http://www.phylonames.org/forum/
_______________________________________________
[email protected]
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

Reply via email to