# Stuck at Error #2136:

**URL:** <https://forum.kirupa.com/t/stuck-at-error-2136/318281>\
**Category:** flash\
**Created:** [January 15, 2011, 9:54am UTC](https://forum.kirupa.com/t/stuck-at-error-2136/318281 "2011-01-15T09:54:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aditi\_bk](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@aditi\_bk](https://forum.kirupa.com/u/aditi_bk)\
**Post date:** [January 15, 2011, 9:54am UTC](https://forum.kirupa.com/t/stuck-at-error-2136/318281/1 "2011-01-15T09:54:15Z")

</div>

I tried to gather my bearings a little with AS3…and tried out a trial class…ALL that the class does is create an object of the external class, and then call a function which displays the alpha value of a movieclip passed to it. The movieclip is on the stage of the swf file.

Code in swf:

var iMain:introMain = new introMain();  
var isVanished:Boolean = false;  
var eventsmc:MovieClip;

function callVanish(e:MouseEvent):void {  
trace(“inside callVanish”);  
iMain.vanish(eventsmc);  
isVanished = true;  
}

eventsmc.nxt.addEventListener(MouseEvent.MOUSE\_DOWN, callVanish);

code within introMain class:

package {

import flash.display._; //all this for later  
import fl.transitions.easing._;  
import fl.transitions.Tween;  
import fl.transitions.TweenEvent;  
import flash.events.MouseEvent;

public class introMain extends MovieClip{

public function introMain(){

```
 trace("inside intromain constructor");

```

}

private function vanish(mcName:MovieClip):void{

```
 trace("inside vanish " + mcName.alpha);

```

}

}

}

The error I am getting

: Error #2136: The SWF file path/introduction.swf contains invalid data.  
at introMain/frame1()

why is this happening???
