Hi guys, I have learned as3 for a half years, these days I found I always have the trouble that make different classes communicate with each other.
I kinda figure out there are some ways to solve (if I am wrong, please tell me...): 1. using get set methods 2. eventdispatch to dispatch custom event.
Today, I am working on this confused issue again. I still can't get through it. this time what I wanna do is this: I wanna use a button (_zoom) to control a mc (_board) located in different class. Let's me give a simple structure for you:
ProjectAppear.as
|_ _board (mc)
|_ Project.as
|_ _work (mc)
|_ _zoom (mc)
My thought is I add a mouse event listener for _zoom, and then when mouse click it will dispatch a custom event, and then .... I get lost in here....