i made a search but coudnt find any help. I want that a dragable mc plays a sound when it reaches a certain position _y>400.
Here’s the code i use, but without any results:
onClipEvent (mouseUp) {
        if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
                this.stopDrag(true);
        }
                if (this._y>400) {
this.gotoAndStop(som);
        }
}
i have a sound at frame label “som”
Any ideas?