A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Plugin or Program for .txt files

  1. #1

    Plugin or Program for .txt files

    Hello,

    I've been trying and trying to find a way to write to a .txt file from flash, and I've been told you cannot do it... Though I am almost sure that i have, with flash mx... I cannot remember how, but anyway...

    I know I cannot write to a .txt file on the internet... But what about just oin my machine? Is there ANY possible way that is possible...? maybe another program or plugin, or something I can use to write onto a .txt file from my machine???

    I am really hoping that I can... The only other option I have is local shared objects... Which I just tryed to put a shared object on my machine with one .swf and load it in a nother... which doesnt work... So If I make one part of my game, and later plan to put it with another part, I'll have to totally rewrite the shared object lines for the new game,... A little confusing I guess, but...

    I am really trying to avoid Shared Objects... So if anyone, knows of anything that would help me write to a text file on my machine... please tell me... BTW, I'm not sure how close writing to a .txt file is to writing using php... but is there a way to do that, but just on my machine? ... Thanks...

    Peace,
    ~Bill

    P.S. It doesnt have to be a .txt file.. It can also be a .dat or anything else I can open externally and edit. I also want it to be able to go where I want it to go(to a certain folder)... Thanks again!
    So many Ideas

    So little Time

  2. #2
    Senior Member
    Join Date
    Apr 2004
    Location
    Missouri
    Posts
    384
    I believe there was a way to get the flash projector to write a text file, but that was only with Flash 5. I think.. not sure though. =)

    If the local machine can process PHP, then you could use that. Screenweaver might have that ability as well. You could check it out, but I'm not sure.

    You could always put a PHP script on a website and whenever someone plays the game it connects to the website to d/l the text file.

  3. #3
    with the php thing... does the php script or file or whatever HAVE TO BE on a website? or can it just be in my computer and accessed that way?

    Well, I have no clue how to use php or have ever tried :P ... I also dont have my own webspace to host php... (and dont want to use a free account due to bandwidth)...

    I'll check out that screen weaver... Other than that, I'll keep asking around for the "php on my computer" asnwer....

    Thanks alot,
    ~Bill
    So many Ideas

    So little Time

  4. #4
    Senior Member
    Join Date
    Apr 2004
    Location
    Missouri
    Posts
    384
    You can run PHP on your computer, but you have to have it installed on your system. If you are going to want other people to play the game on their own computer then you won't be able to do the "run PHP on my computer" thing. Only people that develop with php a lot have it running on their computer.

  5. #5
    Do you knwo of any other kind of scripts, possibly CGI... Maybe java... I have worked a little with java before... but I'm not sure If I can incorperate that into flash... Any other scripts you may know of??? Thanks for all youve done already

    Peace,
    ~Bill
    So many Ideas

    So little Time

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