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!


Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default Pop Ups In flash.

    Anyone know how to do it.. Like on habbo (I know it's not flash) you can show and hide the console ect.. anyone know how to do that in flash?

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  2. #2
    Join Date
    Mar 2007
    Location
    Kent
    Posts
    11,415
    Tokens
    787

    Latest Awards:

    Default

    Sprites i belive.

  3. #3
    Join Date
    Mar 2008
    Posts
    927
    Tokens
    0

    Default

    onframe { click }
    display { item }
    or something.

    Haven't looked at much Actionscript

  4. #4
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    on (press) {
    pp1.show();
    }

    with a movie clip called pp1 but it doesn't work

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  5. #5
    Join Date
    Mar 2007
    Location
    Kent
    Posts
    11,415
    Tokens
    787

    Latest Awards:

    Default

    Quote Originally Posted by Colin-Roberts View Post
    on (press) {
    pp1.show();
    }

    with a movie clip called pp1 but it doesn't work
    Its not movie clip though is it, it has to be a sprite i belive.

  6. #6
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    sprites don't work either..
    http://mini-roberts.com/Untitled-2.fla
    Last edited by Colin-Roberts; 23-06-2008 at 06:42 PM.

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  7. #7
    Join Date
    Jul 2005
    Location
    Belgium
    Posts
    2,492
    Tokens
    147

    Latest Awards:

    Default

    if you'ld work with external swfs (can be quicker to load the whole site/app then)

    on frame:

    yourbuttonormc.onRelease = function(){
    this.createEmptyMovieClip("newmcname",1);
    newmcname._x = xxx; //x position
    newmcname._y = xxx; //y position
    newmcname._width = xxx; //width
    newmcname._height = xxx; //height
    newmcname.loadMovie("content/externalswf.swf");
    }

    yourclosebuttonormc.onRelease = function(){
    newmcname.unloadMovie();
    }

    or something like that...

  8. #8
    Join Date
    Feb 2006
    Location
    Ontario Canada
    Posts
    4,587
    Tokens
    0

    Latest Awards:

    Default

    not a bad idea.. Oli i might do that for the bigger ones.. the little like 3 kb ones i don't think are worth it tho.

    .:.:#14:.:. .:.: Impossible Is Nothing :.:. .:.: 845 Rep:.:.
    .:.: Stand up for what is right, even if you stand alone:.:.


  9. #9
    Join Date
    Mar 2008
    Location
    Swindon, UK
    Posts
    1,274
    Tokens
    187
    Habbo
    :Ltd

    Latest Awards:

    Default

    Quote Originally Posted by [Oli] View Post
    if you'ld work with external swfs (can be quicker to load the whole site/app then) what the **** are you talking about man? LOLOLOLOLOL, however you learn't how to make a item visible or not, its wrong and stupid.

    on frame:

    yourbuttonormc.onRelease = function(){
    this.createEmptyMovieClip("newmcname",1);
    newmcname._x = xxx; //x position
    newmcname._y = xxx; //y position
    newmcname._width = xxx; //width
    newmcname._height = xxx; //height
    newmcname.loadMovie("content/externalswf.swf");
    }

    yourclosebuttonormc.onRelease = function(){
    newmcname.unloadMovie();
    }

    or something like that...
    No idea why your doing that.... lul

    Click here for your lovely pleasure of having the source to view. (*.fla)

    Heres what I did...

    Placed it into a function on _root layer, so its easier to access and change. Added a toggle so I didn't have to change anything if it was hidden etc

    Code:
    function hideshow() {
        if (habConsole._visible == true) {
            habConsole._visible = false;
        }
        else
        {
            habConsole._visible = true;
        }
    }
    Just call the function to hide or show it - easy... I even added a nice drag/drop on the console for you.
    Last edited by Protege; 24-06-2008 at 02:12 PM.
    Hi, names James. I am a web developer.

  10. #10
    Join Date
    Jul 2005
    Location
    Belgium
    Posts
    2,492
    Tokens
    147

    Latest Awards:

    Default

    Quote Originally Posted by Jahmes View Post
    No idea why your doing that.... lul
    Becouse if he has larger files to import, it will be alot quicker to load them trough a external swf.

    Ofcourse for a smaller content this is not needed but it can be much quicker for larger content.

Page 1 of 2 12 LastLast

Posting Permissions

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