# :Void different Flash 8 and Flash 6

**URL:** <https://forum.kirupa.com/t/void-different-flash-8-and-flash-6/231509>\
**Category:** flash\
**Created:** [July 5, 2007, 1:44pm UTC](https://forum.kirupa.com/t/void-different-flash-8-and-flash-6/231509 "2007-07-05T13:44:32Z")\
**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 5, 2007, 1:44pm UTC](https://forum.kirupa.com/t/void-different-flash-8-and-flash-6/231509/1 "2007-07-05T13:44:32Z")

</div>

Howdy

I have this Function:

```auto

function executeCallback():Void {
mySender();
trace("CALLBACK");
};

```

When I export my movie in Flash 8 Actionscript2 everything works fine.  
When I export it as Flash 6 AS 1 i get the following error:

```auto

**Error** Scene=Scene 1, Layer=Layer 1, Frame=1:Line 24: '{' erwartet
     function executeCallback():Void {

**Error** Scene=Scene 1, Layer=Layer 1, Frame=1:Line 28: Unerwartetes Auftreten von '}'
     };

Anzahl der ActionScript-Fehler: 2 Gemeldete Fehler: 2

```

any1 knows why? or how i can make this function that it will work in Flash 6 AS1??? Coz when i delete the VOID and export it in Flash 6 the Function is not working properly

thanx in advance
