You have a pretty mixed up project structure - even for Flex 2.

Move the com directory to be a subdirectory of src. The Flex build path 
should find them.

Paul



----- Original Message ----- 
From: "Edison" <[EMAIL PROTECTED]>
To: <flexcoders@yahoogroups.com>
Sent: Thursday, September 25, 2008 3:56 PM
Subject: [flexcoders] Flex 3 Builder and package imports


> Hi,
>
>  I currently have a flex 2 project with the following structure:
>
> [project-name]/
>  src/
>    web/
>      assets/
>      css/
>      img/
>      javascript/
>      WEB-INF/
>        classes/
>        flex/
>        flex_classes/
>          com/
>            adobe/
>              cairngorm/
>                etc...
>            proj/
>              business/
>              commands/
>              etc...
>        lib/
>
> The main source folder is: src\web
>
> I'm having trouble creating new ActionScript classes under the folder
> src\web\WEB-INF\flex-classes\com\proj\*
>
> I get the error message: "ActionScript package names must only contain
> letters, numbers, \"_\", and \"$\"." and figured out its because its
> residing in the WEB-INF folder (which contains a '-' in the name).
> However, WEB-INF isn't part of the package structure as the package
> declaration always starts from "com.proj..." for all the current
> classes. This was originally a flex 2 project using Flex 2 Builder
> without any problems.
>
> Is this a known problem with Flex 3 Builder? Is there any way to
> specify source files within the main source folder (the Flex Build
> Path only allows for source files outside the main source folder)?
>
> Thanks in advance.
>
> Regards,
> Edison
>
>
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location: 
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups 
> Links
>
>
>
> 

Reply via email to