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?

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:.:.
Sprites i belive.
onframe { click }
display { item }
or something.
Haven't looked at much Actionscript
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:.:.
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:.:.
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...
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:.:.
No idea why your doing that.... lulif 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...
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
Just call the function to hide or show it - easy... I even added a nice drag/drop on the console for you.Code:function hideshow() { if (habConsole._visible == true) { habConsole._visible = false; } else { habConsole._visible = true; } }
Last edited by Protege; 24-06-2008 at 02:12 PM.
Hi, names James. I am a web developer.
Want to hide these adverts? Register an account for free!