Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 9 of 9
  1. #1

    Default ActionScript help please?

    Hey. I'm building a flash shoutbox using PHP and xml with ActionScript. It's like 99% done I just need to refresh the text box with the shouts like every second so that new shouts are brought in, like ajax would do. If anyone knows how to accomplish this in ActionScript it would be awesome if you could share.

    Thanks, Jamie.

  2. #2
    Join Date
    Aug 2006
    Location
    Manchester, UK
    Posts
    2,016
    Tokens
    141
    Habbo
    florx

    Latest Awards:

    Default

    [CODE]
    repeater = setInterval(ajaxycoolness, 1000);
    [/CODE
    Same as Javascript

  3. #3
    Join Date
    Jul 2007
    Location
    South Wales
    Posts
    1,386
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by FlorX View Post
    [code]
    repeater = setInterval(ajaxycoolness, 1000);
    [/CODE
    Same as Javascript
    cool

    answerd for u by flox plus rep for being helpful
    Im a runescape player.



  4. #4

    Default

    Opps should have mentioned, I tried that already, it just loaded the shouts in over and over one after the other and didn't replace them any other ideas? Thanks for the help anyway :]

  5. #5
    Join Date
    Aug 2006
    Location
    Manchester, UK
    Posts
    2,016
    Tokens
    141
    Habbo
    florx

    Latest Awards:

    Default

    Umm make the box blank at the start of the function then update it.

  6. #6
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    and you need to start the function . the number is in miliseconds btw
    How could this hapen to meeeeeeeeeeeeeee?lol.

  7. #7
    Join Date
    Jan 2008
    Posts
    3,711
    Tokens
    100

    Latest Awards:

    Default

    Quote Originally Posted by FlorX View Post
    [code]
    repeater = setInterval(ajaxycoolness, 1000);
    [/CODE
    Same as Javascript
    I think it's that one too?

  8. #8

    Default

    I made a function to refresh where it clears the shouts and them in again but the loading times make it impossible to read or scroll up or down.

  9. #9
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    longer interval then
    How could this hapen to meeeeeeeeeeeeeee?lol.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •