I have 2 menus systems that I need to establish communication between.

Each menu system is controlled by a class that uses EventDispatcher to keep 
track of which button is currently selected.

The problem is when I try to establish 2 WAY communication between these 2 menu 
classes.

I can use composition to communicate ONE way, but when I try and reference each 
class from the other, I get some pretty funky things happening! I think its 
because its a many to many relationship...


//FIRST CLASS

//constructor
function FirstClass(){
var sc= new SecondClass()
}



//SECOND CLASS

//constructor
function SecondClass(){
var fd= new FirstClass()
}


Any suggestions appreciated!

Jim Bachalo

[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

Reply via email to