Hi there, I;m pretty new to Kirupa, but it has helped me alot in the past finding out more about Actionscript 3. I have a problem and I cannot get to fix it, it might be a simple thing but as I’m not a real OOP coder, I’m experiencing headaches .
Here’s the situation:
I have a scene(as3) with on frame one the preloader that centers on the canvas, on the second frame there’s two MC’s; one containing the Background that scales proportionally and centers. The second MC on the same frame contains my website content(called main_) that doesn’t scale but only centers on the canvas. Now I created two buttons in that main_ MC to jump to the next frame of the Backgroud MC. so actually I’m trying to target frames or framelabels of another child of the parent of main_ MC.
I’ve tried multiple things like MovieClip(this.parent)… and adding the child to its parent and try to inherit its listener function. It throws errors or isn’t doing anything.
I think I’m not thinking in the correct hierarchy or I’m making a mistake. Or it might not even be possible, Does anybody have some suggestions? thanx in advance!