;

PDA

Click to See Complete Forum and Search --> : Import Classes syntax problem


xFlashStudentx
04-15-2007, 03:04 PM
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...

cancerinform
04-15-2007, 11:21 PM
There is no subclass to the EventDispatcher class.