flash q
Out of context: Reply #12
- Started
- Last post
- 17 Responses
- ozhanlion0
there is two addressing style in flash. one is absolute. one is relative.
if you are using absolute addressing you gotta figure out whole mcs as a tree branch starting from _root. _root is your maintimeline. so if you have an mc in _root then you will address it like _root.mc. If you are calling this mc from a two depth inside mc you can still call it like _root.mc. The point is you need to address is absolutely.
The second way is relative addressing. You don't need to know which level does your mc absolute although you need to know how many levels up or down relative to your reference mc. So let's say we have mc in the maintimeline and another mc inside of it. So let's address the middle level one from the inside.
this._parent
this refers to the mc we are in. and _parent is the one up level.
So if we want to address _root from two levels down, we call it this._parent._parent