i was wondering if anyone could help me on this…what i want to acheice is a tab button when pushed the page slides out of the bottom and fills itself into the size of the designated area.
i dont know about as although it could be possible
so you creat a tab button, create a mc with height 400 whose top edge in the first frameis at y=400… tween it or whatever so after its done moving the botton edge is at 400. the top edge should be at 0. now on frame 1 you want to put in actions
[AS]
stop();
[/AS]
the same for the last frame.
now select every single frame, right click and say copy, then go to the empty frame right after the last one, right click and say paste frame. now highlight all the frames you pasted and click revese frames. on the new last frame, add the same stop(); action. from now on ill asume that the center point of the mc is at frame 10.
go back into the main movie, drag the movieclip in so that the top of is right underneath the active area. give it an instance name of movie.
then make another movieclip which you will place ooutside the active area just to have actions on it, right click the movieclip, go to actions, type
[AS]
onClipEvent(load){
_global.myVariable=-1;
}
[/AS]
now, drag the button to where you want it and add these actions
[AS]
on(press){
if(myVariable==-1){
_root.movieClip.gotoAndPlay(2);
}else if(myVariable==-1){
_root.movieClip.gotoAndPlay(11);
}
myVariable=-myVariable;
}
[/AS]
'and there you have it. a fully togglable sliding menu. this is off the rop of my head so expect minor errors