The error is on line 2, so what exactly do you have on the line above?

Your import statement doesn't generate a syntax error for me, despite the fact I don't even have the folders specified in my project.

Paul
----- Original Message ----- From: "Jon Bennett" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Tuesday, February 06, 2007 10:40 PM
Subject: Re: [Flashcoders] brain is dead: Syntax Error, why?


Have you defined:

class core.Folder1.Folder2.App
{
   //....
}

At that location to import?

I would suggest the Java style:

com.company_name.project_name.package.class

that's what I've been doing!

I have a folder, which is Version1

inside that I have my FLA

bia_region_map.fla

Then I have a folder called 'as' which has an as file 'firstframe.as'

then, I have the following structure:

com/3Sixty/BIARegionMap/

inside of which I have:

class com.3Sixty.BIARegionMap.App
{
   //
}

does that help?

Where am I going wrong!

thanks,

Jon

--


jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to