Action Script and "this"
Action Script and "this"
Out of context: Reply #2
- Started
- Last post
- 5 Responses
- zack270
"this" literally means *this*... the object that you're currently scripting. So if you're inside a movieclip "_root.myclip" and you say "this.gotoAndPlay(1);
you will go to frame 1 of "_root.myclip".
Just dont forget to assign instance names, that kills me every time.