Posted on: January 29th, 2008 Jan 29th Class Notes

Just to recap what we went over tonight, i just wanted to give you guys a few tips to start troubleshooting your code:

  • CHECK YOUR INSTANCE NAMES! – 90% of the times, when you can’t access a MovieClip you created is because your missing your instance name, so always make sure your checking that.
  • _x and _y – If you want to change the position of a MovieClip through code, just type the name of your movie ._x or ._y equals to the new position.
  • Clear you intervals – Always make sure that when you create intervals you clear them, that’ll be a great way to ensure that you do not have any rogue intervals out there.
  • _visible – Turn stuff on and off by talking to your MovieClip._visible = true or false.
  • Dynamic textfields – Make sure you embed only the characters you need, remember it’ll add to your file size. Also remember if you want to populate that textfield do it like: txtYourTextField.text = “your text in quotes”.

Here are the files from this class

Filed under: Class

Leave a Reply