A Flash Developer Resource Site

Results 1 to 17 of 17

Thread: roomlist component

  1. #1
    Member
    Join Date
    Jan 2003
    Posts
    30

    roomlist component

    hi ppl...

    been having problems with my roomlist component..it doesnt update the

    no of users for that room...i tried out the sample_lobby and

    sample_room and the no.of users doesnt get updated either...

    i went through the "using flash components".pdf and followed exactly

    thier instructions but it still wouldnt work...



    anyone here ecnounter the same problem..i saw some posts on the

    macromedia forum abt problems with the roomlist too but they haven

    got a solution...hope someone here can get it working...thanks!!!

  2. #2
    Senior Member Reamon's Avatar
    Join Date
    Oct 2002
    Location
    Rotterdam(NL)
    Posts
    186
    Maybe you have a problem with the cache, or not?
    www.rally-racers.com

  3. #3
    Member
    Join Date
    Jan 2003
    Posts
    30
    hi Reamon...

    u mean u got it to work?? if its the cache problem how do i solve it jus clear it?? if so where can i clear it...

    thanks for yr reply...


  4. #4
    Senior Member Reamon's Avatar
    Join Date
    Oct 2002
    Location
    Rotterdam(NL)
    Posts
    186
    may you can send an extra variable. So if yo must update you say: file.file?id=random(999999);
    www.rally-racers.com

  5. #5
    Senior Member
    Join Date
    Jun 2001
    Posts
    343

    Towes example

    I also, couldn't get the roomlist to work, using the manual. So, I bought Kevin Towes' book, because it has a chapter on an example using the roomlist. I can get the chat rooms to have their own identity, but I still can not get the friggin' user number to update. It always says "0".

    The problem probably lies within the code that he uses to reprogram the joinroom function (pg 185). He uses the code:

    this.so.data[selectedRoom].users++;

    If anyone has this book and has already worked through this, please please please post the answer here. Many people seem to be having problems with the manual, and Towes book.

    Thanks,
    gamist

  6. #6
    Member
    Join Date
    Jan 2003
    Posts
    30
    hi gamist...

    care to share how u got the rooms to have their own identity??

    thanks in advance....


  7. #7
    Senior Member
    Join Date
    Jun 2001
    Posts
    343

    it's different!

    Towes' technique is different than the manual. The manual "shows" you how to create the lobby using html and javascript, but Towes uses one flash application. He offers a free download of his sample:

    http://flashcom.pangaeanewmedia.com/

    You'll notice problems with it, but they are all minor except the amount of users. As soon as I figure that one out, I will post it.

    gamist

  8. #8
    Member
    Join Date
    Jan 2003
    Posts
    30
    thanks gamist..ive downloaded the sample..but i cant use the method towes's is using... im still tyring to use the old method... i think the problem lies in the server to server call...

    ive tried the sample_room and sample_lobby examples again and they work now...

    thanks for yr help anyway....

  9. #9
    Senior Member
    Join Date
    Jun 2001
    Posts
    343

    How?

    That's great that you got it to work. Could you give a summary of what you did different? I would love to give the manual another shot.

  10. #10
    Member
    Join Date
    Jan 2003
    Posts
    30
    the only difference was i hosted it on my web server and access the application through localhost... i didnt make any changes to the sample_lobby and sample_room applications...hope this helps...

    the samples work but i cant get my own application to work though...

  11. #11
    Senior Member
    Join Date
    May 2001
    Location
    Toronto
    Posts
    128
    Hi kale10,

    Could you elaborate, please? Does your roomslist component actually update the number of users? Where did you place your files?

    Thanks.

  12. #12
    Member
    Join Date
    Jan 2003
    Posts
    30
    hello..

    yup the roomlist does update the no. of users.. i did not move any of

    the files form the sample_lobby or sample_room... all i did was host

    it on a web server, opened a browser and typed

    "http://localhost/flashcom/applications/sample_lobby/sample_lobby.html"

    in the address bar and everything was working fine...



    let me know if u still cant get the samples to work...

  13. #13
    Senior Member
    Join Date
    May 2001
    Location
    Toronto
    Posts
    128
    Hey kale10,

    I finally got around to testing out the sample_lobby. Again, it doesn't seem to want to update the number of users. Why is it that I have the strangest feeling that this may be a version problem e.g. I have an older version of this sample_lobby that doesn't work and you have a newer one.

    Question: Could you provide a link to your sample_lobby so I/we can take a look. Either that or could I snag a copy of your .fla, please?

    Thanks.

  14. #14
    Member
    Join Date
    Jan 2003
    Posts
    30
    hi novian..maybe u can leave me yr email address if u dont mind and i will mail u the files. or if u have an ftp i can also upload the files there.

  15. #15
    Long time no see.
    Join Date
    Sep 2002
    Location
    UK
    Posts
    52
    there is a bug in the main.asc AFAIK

    Try the attached main.asc for the sample_room app. Thanks to Adam at rawnet.com for tracking this down.

    stoem
    Attached Files Attached Files

  16. #16
    Senior Member
    Join Date
    May 2001
    Location
    Toronto
    Posts
    128
    Hi Stoem,

    I appreciate you creating the link to a new main.asc for the sample_room. Unfortunately, I'm still having a problem getting my lobby to update the number of users. Any new thoughts on why?

    kale10:

    Did you receive my email?

    FK members who might be reading this post:

    Has anyone been able to get this component to work?

    Thanks.


  17. #17
    Member
    Join Date
    Jan 2003
    Posts
    30
    hi novian...ive emailed u the files...hope it works..

    other than the samples ive also got mine own working... now im trying

    to remove the simpleconnect component and get it to work...


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