# Some help with Flashdevelop

**URL:** <https://forum.kirupa.com/t/some-help-with-flashdevelop/246682>\
**Category:** flash\
**Created:** [December 13, 2007, 12:07pm UTC](https://forum.kirupa.com/t/some-help-with-flashdevelop/246682 "2007-12-13T12:07:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hatu](https://avatars.discourse-cdn.com/v4/letter/h/f04885/32.png) [@hatu](https://forum.kirupa.com/u/hatu)\
**Post date:** [December 13, 2007, 12:07pm UTC](https://forum.kirupa.com/t/some-help-with-flashdevelop/246682/1 "2007-12-13T12:07:02Z")

</div>

I was just trying to get started with Flashdevelop and Flex 2 SDK as the compiler and I’m running this kind of basic test code.

It compiles fine and traces what it should but when I close the .swf tab, the whole program crashes. Anyone got any ideas why that is happening?

My project just has 1 file, cool.as  
ActionScript Code:  
[FONT=Courier New][LEFT]package [COLOR=#000000]{[/COLOR]  
[COLOR=#0000ff]import[/COLOR] flash.[COLOR=#000080]display[/COLOR].[COLOR=#000080]Sprite[/COLOR];

```
[COLOR=#0000ff]public[/COLOR] [COLOR=#000000] **class** [/COLOR] cool [COLOR=#0000ff]extends[/COLOR] Sprite [COLOR=#000000]{[/COLOR]
    
    [COLOR=#0000ff]public[/COLOR] [COLOR=#000000] **function** [/COLOR] cool[COLOR=#000000]([/COLOR][COLOR=#000000])[/COLOR] [COLOR=#000000]{[/COLOR]
        [COLOR=#0000ff]trace[/COLOR][COLOR=#000000]([/COLOR][COLOR=#ff0000]'cool as3 is working'[/COLOR][COLOR=#000000])[/COLOR];
    [COLOR=#000000]}[/COLOR]
    
[COLOR=#000000]}[/COLOR]

```

[COLOR=#000000]}[/COLOR]  
[/LEFT]  
[/FONT]
