Hi
I have two menu systems.

Each menu system is comprised of 'movieclip buttons; which in turn are 
controlled through a class for rollover, out and hit states.
So two classes, one for each menu system.
What's the most efficient way to communicate back and forth BETWEEN the menu 
systems?

I can't use composition since I would be instantiating several instances 
>From Moock's AS2

// The back end class is analogous  
// to the superclass in inheritance.  
class BackEnd {    
      public function doSomething () {    
      }  
}
    
// The front end class is analogous  
// to the subclass in inheritance.  
class FrontEnd {    
      // An instance of the back end class will be stored in    
      // a private instance property, in this case called 'be'.    
      private var be:BackEnd;      

      // The constructor creates the instance of the back end class.    
      public function FrontEnd () {      
        be = new BackEnd();    
      }     

      // This method delegates work to BackEnd.doSomething().    
      public function doSomething () {      
        be.doSomething();    
      }  
}  


[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

Reply via email to