Explain if the oilpump movie clip instance in path _root.car.engine.oilpump.clamp uses the following line of actionscript, _parent.someaction;, which movie clipinstance is being referenced? : adobe flex action script
Answer Posted / Shashank Braham Dev Narayan
In this case, the OilPump movie clip instance located within the Engine movie clip instance, which in turn is a child of the car movie clip instance, is being referenced by _parent.someAction. This means that when the someAction function is called on the parent (car) movie clip instance, it will be executed in the context of the Engine movie clip instance (which is the parent of OilPump).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers