I am going to try to post something code related everyday (maybe except for the weekend). So today I will cover a super easy tip:

When setting the same property on different objects, you can same time by instead of doing this:

movieClip1.visible = false;
movieClip2.visible = false;
movieClip3.visible = false;

Do This:

movieClip1.visible=movieClip2.visible=movieClip3.visible=false;

Easy, huh?


Author: Jonathan Dunlap
Jonathan is an experienced software engineer, sole blogger of JADBOX, author of FlashMVC, humanitarian, and has contracted work for Microsoft, Coke, and Disney.
Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • email
  • Furl
  • LinkedIn
  • Pownce
  • Reddit
  • StumbleUpon
  • TwitThis

Tags: ,