A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: [RESOLVED] Problem working with php

  1. #1
    Junior Member
    Join Date
    Dec 2009
    Posts
    19

    resolved [RESOLVED] Problem working with php

    I have been building a flash/php/xml recipe book and I have come up against a problem. I am trying to make this run on a computer without a website to upload to, and for some reason, when I try to make this work, it does nothing. Please help!
    Thanks
    Bobfrapples49
    Last edited by bobfrapples49; 12-26-2009 at 04:44 PM.

  2. #2
    You don't need to use PHP if you have a local swf that is reading a local xml file.

  3. #3
    Junior Member
    Join Date
    Dec 2009
    Posts
    19
    Right, but I need php to Write to the XML. What is wrong with that function?

  4. #4
    Quote Originally Posted by bobfrapples49 View Post
    Right, but I need php to Write to the XML. What is wrong with that function?
    Try fscommand
    using the LoadVars Class

  5. #5
    Junior Member
    Join Date
    Dec 2009
    Posts
    19

    Unhappy Help!

    I have read those articles and I don't see how they could help me. My problem is that I cannot get the xml out of flash, and thru the php to rewrite the old file.

  6. #6
    Junior Member
    Join Date
    Dec 2009
    Posts
    19
    Oh. I am doing this locally.

  7. #7
    You can't use php with out installing something like WAMP on your machine.

    fscommand will let you bypass php. you can just have your swf (or exe or whatever) open the file edit and save it by itself.

    If you must use php then check out Wamp. However, it wont work on any other machine that doesnt have it installed.

  8. #8
    Junior Member
    Join Date
    Dec 2009
    Posts
    19
    OK. How would I use fscommand in flash 8? Can you give me an example that applies to my situation??

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center