|
1.) You should be able to use either the configuration file
or a programmatic approach in ActionScript.
2.) It is not necessary.
3.) See 2.
4.) I understand, let's discuss.
How did you compile your MXML app - are you using Flex
Builder 2 or the command line compiler? In either of these situations you need
to tell the compiler to include a services-config.xml file in the generated SWF.
This can be achieved through a compiler argument called <services> in
flex-config.xml or specified on the command line using the mxmlc
argument:
--services=c:/path/to/your/web-app/WEB-INF/flex/services-config.xml
If you're using Flex Builder 2 I know I have better success
if I force a clean and rebuild when I change the configuration file or command
line settings.
Alternatively, if you're relying on FDS's webtier compiler
(i.e. you browse to a .mxml file and a servlet that ships with FDS compiles your
mxml to SWF) this should already be looking for
/WEB-INF/flex/services-config.xml by default.
Finally, note that when you do change
/WEB-INF/flex/services-config.xml you need to restart the web application for
FDS to see the changes - although this is not related to your issue at
compilation time.
Pete From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Robson Sent: Thursday, October 19, 2006 7:59 AM To: [email protected] Subject: [flexcoders] Re: FDS and componentized development: Bug? Hi Pete, -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- RE: [flexcoders] Re: FDS and componentized development: Bug? Peter Farland
- [flexcoders] Re: FDS and componentized development: Bug... Jim Robson
- RE: [flexcoders] Re: FDS and componentized developm... Peter Farland
- [flexcoders] Re: FDS and componentized developm... Jim Robson
- RE: [flexcoders] Re: FDS and componentized ... Peter Farland
- [flexcoders] Re: FDS and componentized... Jim Robson

