Be a Supporter!

Help! Using As3, Php, And Txt Files

  • 458 Views
  • 5 Replies
New Topic Respond to this Topic
Venks
Venks
  • Member since: Jun. 8, 2008
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Help! Using As3, Php, And Txt Files 2012-07-06 01:18:47 Reply

I once had a very awesome tutorial that showed you how to use AS3 on your desktop to connect to a php file on your website to read and write a text file.
I used to use this to keep high scores and other information.

But I can't remember how to do this or where to find that tutorial.
Anyone here know how to do this?


BBS Signature
ProfessorFlash
ProfessorFlash
  • Member since: Oct. 6, 2007
  • Offline.
Forum Stats
Member
Level 32
Programmer
Response to Help! Using As3, Php, And Txt Files 2012-07-06 03:02:19 Reply

At 7/6/12 01:18 AM, Venks wrote: But I can't remember how to do this or where to find that tutorial.
Anyone here know how to do this?

Did you try google? Should be super simple to find a tutorial like this. The key classes to make this happen are URLVariables and URLLoader. Check them in the as3 references.


You can solve pretty much any problem you may have with AS3 by consulting the AS3 Language reference.

Venks
Venks
  • Member since: Jun. 8, 2008
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to Help! Using As3, Php, And Txt Files 2012-07-06 03:25:57 Reply

At 7/6/12 03:02 AM, ProfessorFlash wrote:
At 7/6/12 01:18 AM, Venks wrote: But I can't remember how to do this or where to find that tutorial.
Anyone here know how to do this?
Did you try google? Should be super simple to find a tutorial like this. The key classes to make this happen are URLVariables and URLLoader. Check them in the as3 references.

Yeah I have. Just solved my own problem actually. I was trying to use 000webhost.com who claim to let you use php, but I didn't have the correct permissions or what ever. Even after using FileZilla to change it.

On the other hand zynic.com works just fine. Thanks for the reply though.


BBS Signature
1Kingfire1
1Kingfire1
  • Member since: Dec. 16, 2007
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to Help! Using As3, Php, And Txt Files 2012-07-06 09:53:42 Reply

I use webhost for php, works fine.


Want to increase knowledge in programming. If you need someone to program something, I will be happy to help for free :) .

Sam
Sam
  • Member since: Oct. 1, 2005
  • Offline.
Forum Stats
Moderator
Level 19
Programmer
Response to Help! Using As3, Php, And Txt Files 2012-07-06 11:26:43 Reply

At 7/6/12 09:53 AM, 1Kingfire1 wrote: I use webhost for php, works fine.

I've also used it with no problems.

Venks
Venks
  • Member since: Jun. 8, 2008
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to Help! Using As3, Php, And Txt Files 2012-07-06 14:10:25 Reply

At 7/6/12 11:26 AM, Sam wrote:
At 7/6/12 09:53 AM, 1Kingfire1 wrote: I use webhost for php, works fine.
I've also used it with no problems.

Yeah... it turns out it was just being slow. webhost is also working. I was just being impatient. Oops.


BBS Signature