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:

  1. movieClip1.visible = false;
  2. movieClip2.visible = false;
  3. movieClip3.visible = false;

Do This:

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

Easy, huh?

Auto-Generated Related Posts:
  1. Flash: Child Object Event Bubbling...
  2. Flash Tutorial: Flash Stage Size...
  3. Flash: Creation of general children...

Tags: ,