yes I hate this too, I submitted a FB enchancement, do the same so it will get included into the next release, hopefully. Dimitrios Gianninas RIA Developer Optimal Payments Inc.
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Baggett Sent: Thursday, February 15, 2007 7:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Why do linked resources have to reside in project root directory? I'm using modules to break up my app into smaller chunks. I was following the advice to create multiple projects (one for the main app, one for each module) and link from the main app to the compiled modules' SWF files that I've seen on this list as well as the revamped Module documentation when I ran into a problem. It was my understanding that I could create links from the main application bin folder to the SWFs in the module projects bin folders. However, the standalone version of Flex Builder 2.0.1 displays an error in the "New File" dialog stating "Cannot create linked resource module.swf. Linked resources must have a project as their parent." if I attempt to create the resource link in any of the project subdirectories. The error disappears if I select the main project folder as the parent. This is really frustrating! Flex Builder won't compile a file into a SWF (by marking it as an application) unless it is in the project root. I thought that creating separate projects for modules and linking to their SWF files would get around this limitation, only to find it is just as limited. Am I really going to have to place the source files for my shell app and all of my modules in a single project root directory just so Flex Builder will build and place all of them in a single bin folder? I've already spent the past two days learning about Ant scripting so I could compile source files that weren't in the project root. Once I got that to work, I found that coding errors no longer show up in the "Problems" view (bye bye double-clicking to open the file and jump to the problem line) and the "Run" and "Debug" buttons won't launch the compiled app. What is the right way to make all of this work? -- WARNING ------- This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient. No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message. If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system. The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful. If you have received this e-mail in error, please notify the sender. AVIS IMPORTANT -------------- Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation. Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système. La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.