[FONT=Calibri][SIZE=3]Having taken the plunge into AS3, by encapsulating my classes in external as files, I’ve come across an issue regarding the interaction between Objects.[/SIZE][/FONT]
[FONT=Calibri][SIZE=3]//I’ll dumb my example down to make it more universal[/SIZE][/FONT]
[FONT=Calibri][SIZE=3]I have box Object which tells another Object circle to do something.[/SIZE][/FONT]
[FONT=Calibri][SIZE=3]As it stands when creating my box I pass along a parameter *circle *which allows the box to have control of the circle.[/SIZE][/FONT]
[FONT=Calibri][SIZE=3]My gut tells me that passing the parameter *circle *breaks the rules of encapsulation, which is why I’m seeking your advice on how to properly allow the box to tell the circle to do something without baking the link into the class.[/SIZE][/FONT]
[FONT=Calibri][SIZE=3] [/SIZE][/FONT]
[FONT=Calibri][SIZE=3]Thanks in advanced.[/SIZE][/FONT]