# Very strange glitch

**URL:** <https://forum.kirupa.com/t/very-strange-glitch/268931>\
**Category:** Uncategorized\
**Created:** [August 20, 2008, 3:31pm UTC](https://forum.kirupa.com/t/very-strange-glitch/268931 "2008-08-20T15:31:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DesignerMichael](https://avatars.discourse-cdn.com/v4/letter/d/898d66/32.png) [@DesignerMichael](https://forum.kirupa.com/u/DesignerMichael)\
**Post date:** [August 20, 2008, 3:31pm UTC](https://forum.kirupa.com/t/very-strange-glitch/268931/1 "2008-08-20T15:31:05Z")

</div>

Ok, this is very very odd… The first visible = false works, and the second one doesnt… Yet both work after the myBuggy movieclip is added to stage…

```auto

var newBuggy:Buggy=new Buggy;
newBuggy.Turret.aimGuide.visible = false;
newBuggy.turretArc.visible = false;
gameLevel.addChild(newBuggy);

```

Wtf???

I tried placing “turretArc.visible = false;” inside the instantiation of the class… Nothing! No error, doesn’t do anything…

Nada…

```auto

public function Buggy() {
      turretArc.visible = false;
}

```

Then… Later… It works here:

```auto
var myBuggy=gameLevel.getChildByName(getPlayerData(myId).childName);
myBuggy.turretArc.visible = false;

```

It gets even stranger… I click on the movieclips in the library, and set them for runtime sharing… turretArc22, and turretArc45, and it tells me turretArc@4584?? cannot be converted to turretArc? Then I comepile again, and no error…
