Welcome, Guest
  • Author Topic: localhost in flash IDE  (Read 1535 times)

    Edgars Simsons

    • Server what's that
    • *
    • Posts: 24
      • View Profile
      • Email
    localhost in flash IDE
    « on: 10/16/06, 09:24 »
    all th etime for the current and previous projects I have been allways communicating with localhost both testing in flash ide and also playing in browser. However, today after another test for a amfphp call IDE gave me: "Error downloading from http://localhost/blablabla.."
    Then I made a new file loading a picture from localhost, restarted flash, my wamp server, browsec, cleared cache for it, and finally also restarted my computer - still IDE can not connect to localhost. But playing the same files in browser worsks as it should..

    That is a mysterie for me.. Which direction should I look???
    emmm....

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: localhost in flash IDE
    « Reply #1 on: 10/16/06, 11:33 »
    Open directly  gateway.php in your browser, if you get a download (versions of amfphp previous to 1.x) or an ok message (newer versions) as stated in  http://www.flash-db.com/Tutorials/helloAS2/ then amfphp is working on your host and you should check the path in your flash movie

    Jorge

    Edgars Simsons

    • Server what's that
    • *
    • Posts: 24
      • View Profile
      • Email
    Re: localhost in flash IDE
    « Reply #2 on: 10/16/06, 13:24 »
    Forgot to mention this as well - browser gave the success message. checked the path like 5 times, also copyyin it stright from flash output panel to browser..
    the thing is that it is not a amfphp issue at the end but general problems accessing ANYTHING on localhost... :/
    emmm....

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: localhost in flash IDE
    « Reply #3 on: 10/16/06, 15:12 »
    Write something simple like:

    echo "myvar=Hello"

    and load inside a LoadVars object, far so simple. Of course check the PHP first in your browser. If you can't load this variable, post your the as code you're using.

    Jorge