A Flash Developer Resource Site

Results 1 to 12 of 12

Thread: A real-time chatroom?

  1. #1

    Smile

    What is used for making a real-time chatroom? ASP? Generator? If anyone has the answer please reply!

  2. #2
    Senior Moderator
    Join Date
    Apr 2000
    Location
    Sheffield, UK
    Posts
    3,881
    PHP3 is the best option very quick!!!!!1that is what i used anyway!!!1111no generator involved!!!!!!!

  3. #3
    But is there anyway to do it using only ASP?

  4. #4
    Senior Moderator
    Join Date
    Apr 2000
    Location
    Sheffield, UK
    Posts
    3,881
    Of course there is but it would be very slow to update!!

  5. #5
    The Supreme Shaman and Keeper of Polar Lights
    Join Date
    Apr 2000
    Posts
    1,175

    Post

    Hi !

    ASP will not be slower than PHP, but PHP have a lot of very useful functions like
    sleep(time in seconds);
    Using that function you may call Load Variables action from Flash once in 20-25 seconds and chat window still will have live updates, and seems that in ASP you have to call .asp script every 2-3 seconds and chat window will have forced once in that 2-3 seconds update. That is the main PHP advantage (i think)

  6. #6
    This has been very helpful, thank you all! One last question though: Is there any tutorials or downloadable examples of this? I guess I would be able to figure it out without help but it is always easier when given an easy start.

  7. #7
    Senior Moderator
    Join Date
    Apr 2000
    Location
    Sheffield, UK
    Posts
    3,881
    ILYA i have cretaed a chatroom ain ASP And PHP3 and PHP3 is noticeably faster!!!


  8. #8
    Member
    Join Date
    Jun 2000
    Posts
    47

    Lightbulb

    yes Jezze,

    take a look in the folder:"flash4/sample pages/chat.

    This folder is automaticly installed with flash4.
    It's very basic but it works.
    The asp script is also inside the folder.

    If u know to change the asp script or know something about asp please let me know.


    soeshy

  9. #9
    The Supreme Shaman and Keeper of Polar Lights
    Join Date
    Apr 2000
    Posts
    1,175
    Hi FlashGuru !

    It is really strange ... I created both scripts too, and as i remeber that they were nearly equal
    Yes, i hate ASP too, but still don't see why it may be _noticeably_ slower..

  10. #10
    soeshy: Well, me and my friend has this webdesignstudio together, I'm the artistic one (design, page-layout etc) and he is the man with the brain, which means that he knows about everything there is to know about ASP, so I could just ask him if there was something in perticular you where thinking about. I'm just doing a bit of research here...

    Regarding this sample pages I'm really greatful, I can't belive I haven't noticed them before!!!

    Cheers!

  11. #11
    Member
    Join Date
    Jun 2000
    Posts
    47

    asp script

    hi Jezze,
    i've posted a topic about it a few lines away from this one :-) called "asp& flash chat"

    I want the script to send a list of all the chatters to all the other chatters in the same room.

    I've only changed the design, not the funtionality.
    (only 3 public (non editable variable) rooms and 1 private (editable variable) room)

    Quite simple I guess, but i've no experience with asp.
    Please ask your partner about it and let me know asap

    thanx
    Steven

  12. #12

    Yeah I got your e-mail soeshy!

    I'l ask my friend about it, problem is that he is away for a day or two but after he has return he will probebly be able to answer your question!

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