Max Titov IV @ TechSplice

The most beautiful music of all is the music of what happens.
  • Home
  • About
11 Mar 2009

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

This entry was posted on Wednesday, March 11th, 2009 at 9:06 pm and is filed under Flex. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

3 Responses to “AMFPHP + Flex 3 = Error [unable to open 'services-config.xml']”

  1. Adobe Flex classes says:
    August 24, 2009 at 9:07 pm

    great tips. I enjoyed reading this

  2. Sidedoor says:
    September 9, 2009 at 9:08 pm

    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

  3. Sidedoor says:
    September 9, 2009 at 9:23 pm

    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

Leave a Reply

Click here to cancel reply.

« Cooking with Stacy and Max
Workingn with AMF »
  • Subscribe using FeedBurner
  • Cloud

    abap adobe animation basic beautiful builder camera code configuration contribution design development digital engineering fix flash Flex friends function images interesting lesson new paypal Photography php problem problems program programmer review sap SAP/ABAP sdk setup soap software solution story system tables transaction transports user video

    WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.

  • My Links

    • Cooking
    • Gallery
    • Resume
  • Online Tools

    • Airline Ticket Search
    • Estimate Shipping Cost [from US]
    • Link your Blog
  • Software Engineering Blogs

    • Adam Goucher
    • Joel on Software
    • The Third Bit
    • Wide Awake Developers
  • Categories

    • Everyday stuff
    • Flex
    • Photography
    • SAP/ABAP
    • Short Stories
    • Software Engineering
    • Web Development
  • Gallery

    Roy Tanck's Flickr Widget requires Flash Player 9 or better.

Max Titov IV @ TechSplice is proudly powered by WordPress
Design & code by Jonk
Entries (RSS) and Comments (RSS).
Podcast Powered by podPress (v8.8)