# Import Classes syntax problem

**URL:** <https://forum.kirupa.com/t/import-classes-syntax-problem/222638>\
**Category:** flash\
**Created:** [April 15, 2007, 6:56pm UTC](https://forum.kirupa.com/t/import-classes-syntax-problem/222638 "2007-04-15T18:56:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xFlashStudentx](https://avatars.discourse-cdn.com/v4/letter/x/57b2e6/32.png) [@xFlashStudentx](https://forum.kirupa.com/u/xFlashStudentx)\
**Post date:** [April 15, 2007, 6:56pm UTC](https://forum.kirupa.com/t/import-classes-syntax-problem/222638/1 "2007-04-15T18:56:09Z")

</div>

I’m trying to import a class and all the classes in that directory. Here is my syntax:

import mx.events.EventDispatcher.\*;

But Im getting this error message:

**Error** Scene=Scene 1, layer=Layer 3, frame=1:Line 1: Syntax error.  
import mx.events.EventDispatcher.\*;

Total ActionScript Errors: 1 Reported Errors: 1

And Im using AS 2.0…any answers? Thanks…
