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 3 of 3
  1. #1
    Join Date
    Oct 2005
    Location
    Corby
    Posts
    5,512
    Tokens
    2,675
    Habbo
    cabbage (origins)

    Latest Awards:

    Default Flash coding problem

    So my image bounces, goes up, left and right - but not down?
    anyone help lol

    HTML Code:
            if (Key.isDown(Key.LEFT)){
                    if((_x-5) > (_width/2)) {
                           _x-=5;
                    }
            }
            if (Key.isDown(Key.RIGHT)){
                    if((_x+5) < ScreenWidth-(_width/2)) {
                           _x+=5;
                    }
            }
            if (Key.isDown(Key.UP)){
                    if((_y-5) > (_height/2)) {
                           _y-=5;
                    }
            }
            if (Key.isDown(Key.DOWN)){
                    if((_y+5) < ScreenHeight-(_height/2)) {
                           _y+=5;
                    }
            }
    no

  2. #2
    Join Date
    Mar 2008
    Location
    Here.
    Posts
    182
    Tokens
    0

    Default

    REMOVED

    Edited by REDNECK (Forum Super Moderator): Please do not continue to insult other users.
    Last edited by jesus; 12-03-2008 at 06:40 PM.

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

    Latest Awards:

    Default

    Ooh, I don't know the fix, I'm better with flash than actual AS, you just helped me with something =) +rep
    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
  •