Announcement

Collapse
No announcement yet.

goto or _visibles = false?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    goto or _visibles = false?

    hi everyone

    In my timeline we've got 2 frames

    frame 1: My clip
    frame 2: empty

    first way to make disappear my clip:

    gotoAndStop(2);

    2nd way;

    Myclip._visible = false;

    is it the same thing?
    what is the best?

    ty

    #2
    Using gotoAndStop(2) will completely remove the movie clip from memory, since it does not exist on frame 2.
    Using _visible = false will not. The movie clip will still be there in memory, but just not visible.

    Comment


      #3
      so yeah it depends on what your after. removing it from memory using gotoAndStop will also clear out its variables cache (if tats the right word?) so it wont remember any of its variables once its back.however if its going to be invisible for a long time and you want to reduce memory then visible false it.

      Comment

      Working...
      X