Thanks Paul, It looks like we need to rearrange our project structure to accommodate for this.
Regards, Edison --- On Thu, 25/9/08, Paul Andrews <[EMAIL PROTECTED]> wrote: From: Paul Andrews <[EMAIL PROTECTED]> Subject: Re: [flexcoders] Flex 3 Builder and package imports To: [email protected] Received: Thursday, 25 September, 2008, 3:01 PM 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] com> To: <[EMAIL PROTECTED] ups.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/flexcoder sFAQ.txt > Alternative FAQ location: > https://share. acrobat.com/ adc/document. do?docid= 942dbdc8- e469-446f- > b4cf-1e62079f684 7 > Search Archives: > http://www.mail- archive.com/ flexcoders% 40yahoogroups. comYahoo! Groups > Links > > > > Make the switch to the world's best email. Get Yahoo!7 Mail! http://au.yahoo.com/y7mail

