# AS2 Error Class Import

**URL:** <https://forum.kirupa.com/t/as2-error-class-import/232278>\
**Category:** flash\
**Created:** [July 12, 2007, 11:18am UTC](https://forum.kirupa.com/t/as2-error-class-import/232278 "2007-07-12T11:18:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChromeDemon](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@ChromeDemon](https://forum.kirupa.com/u/ChromeDemon)\
**Post date:** [July 12, 2007, 11:18am UTC](https://forum.kirupa.com/t/as2-error-class-import/232278/1 "2007-07-12T11:18:19Z")

</div>

I dont have a clue

```auto

import mx.managers.DepthManager;
a_btn.onRelease = function() {
b_btn.setDepthTo(DepthManager.kTop);
var b_depth:Number = b_btn.getDepth();
trace(b_depth);
}

b_btn.onRelease = function() {
a_btn.setDepthTo(DepthManager.kTop);
var a_depth:Number = a_btn.getDepth();
trace(a_depth);
}

```

I get the following Error Code

```auto

Error:
C:\Dokumente und Einstellungen\Besitzer\Lokale Einstellungen\Anwendungsdaten\Macromedia\Flash 8\de\Configuration\Classes\mx\managers\DepthManager.as: Zeile 193: Keine Eigenschaft mit dem Namen '_topmost' vorhanden.
             if ( depthFlag == mx.managers.DepthManager.kTopmost) o._topmost = true;

Anzahl der ActionScript-Fehler: 1 Gemeldete Fehler: 1

```

Any1 know this??

It is German but I guess it is the same on English …

I am a bit lost, coz i reinstalled me Flash and got the same ???!!!

any help is much appreciated
