Reload Vars Manually. Possible?

:: I have this thing in flash set up where you can type something in. Only by pressing send, it’s sent to a txt file. Flash needs to read the data, and print out the vars --> This only happens after pressing the button.

  • Is it possible to load the vars from a file called data.php without having to press send? Thus, loading the text manually…

  • If this can be done using php, tell me. If this can be done using actionscript, tell me also.

  • Thanks :thumb:.

Yep, what digital said.

You use the same method as you are using with the button, but instead of triggering it on a button event, trigger it on a frame that you want it to get loaded.

How would I get Vash to tell me?

Well I ran a search for “Chatroom in Flash” and see you asked a lot of questions on this subject, this thread seemed particularly interesting to me…

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=31882

You were given many options on flash chatroom scripts.

Why don’t you go with any of them?

I can’t get FlashComm. Sephiroth only holds 7-8 people max and then gets slow. XML I can’t do. Phpforflash.com…didn’t find a chat anywhere but their forums is awesome…Flashbuilder’s phatchat - MYSQL? No. The rest…well, slow. I know I’m complaining but I need this thing to be effective and fast. My site will rely all on flash.