AMFPHP + Flex 3 = Error [unable to open 'services-config.xml']
While trying to configure the AMFPHP set up with the Flex 3 framework I ran in to a problem while setting up the services-config.xml.
I’ve created the file in the root directory and specified in the Flex Compiler [Additional compiler arguments] the following string -locale en_US -services “services-config.xml”.
As soon as I clicked OK an error popped up with a message unable to open ’services-config.xml’. After trying varying things I was able to figure out that the problem was with the location of the file. Simply placing the file at the root of the directory wasn’t the right location. I needed to put the file in the same directory as the main MXML executable – after that the program worked as expected.
Tags: adobe, amf, amfphp, builder, configuration, Flex, php, sdk, setup
great tips. I enjoyed reading this
Hmm, I’m having the same problemo…
What do you mean by: “Simply placing the file at the root of the directory wasn’t the right location.”?
My main application MXML file is always located in the src directory – this is where I’ve placed the services-config.xml also, but I’m still get the error: unable to open ’services-config.xml’
Thanks
sd
Figured it out…lol:
The problem was due to my laziness: I had copied and pasted the text from an html page, and sometimes when you do this, quotation marks render as some sort of styled mark, and not the plain text quotation marks.
Ha, not even sure why this happens…anyway, thanks!
sd