ok, i have a menu that controls my movie. It pauses, plays, fastforwards, rewinds, starts move over, mute, etc.
I have 3 questions:
How can i make it so that when you touch a certain area ( lets say text that says “blank” ) then the movie controler will slide out. So its not actually on the screen maybe its of the the side of the stage and it slides on.
How can i chage my mute button to work so that if its pressed once, it turns of all the sounds, but then it will permanently change to un mute button untill i press it again, and it will turn the wounds back on. ( Right now im using stopallsounds(); )
How can i make it so when the mouse rolls over each button it will give the description like, mute button, or pause button.
make a movieclip that includes one empty button and than add a dynamic textbox over the empty button.
if your dynamic text box’ instance name: txtbox , u should add
txtbox.text= “mute”;
than add the following code to your button:
[AS]
on(release){
if(txtbox.text ==“mute”){
txtbox.text=“unmute”;
} else {
txtbox.text=“mute”;
}
}
[/AS]
u can improve these on you own.
u can make a movieclip like windows’ tipbox . and add a dynamic textbox into it.
than use it to make a description near the mouse when the mouse rolls over the buttons.
what i meant when i said that the controler would slide in is, lets say theres a button (on the stage) and when u rollover it the controler pops up, or slides in from the corner of the stage.
Im not sure how to do this. Ive tried to put it in the over part of the button but then the buttons on the controler wont work.
make a movieclip that includes your information that will shown on the controller. than make this MC’s _visible = false; than bring this MC to the corner of the stage.
add below code to your button:
change the instance name to “myMC”,
change the alpha to 0%.
It still doesn’t work!!
I canged the script “myMC” in the script to “this” and when i do that, when i rollover the button and rollout it goes down by -10% alpha (only if i take the 0% alpha off) other wise it does nothin.:crying:
My menu is 8 buttons (4 by 4)
a background for the buttons
and a background for the descriptions (when u roll over the button)
The code
onClipEvent(load){
_alpha=0;
}
dont work on buttons.
And in stead of makin my movie menu one big movie clip, is the a way that u could add more instance names into the code, like a, b, c, d, e, f, g, h. for all my buttons because they wont work inside a movie clip.
i can’t understand exactly what do u want to know… but if u ask “how can i fade these instances like the other one?” – u should change the code for the rewind MovieClip and than add this code to the rewind button. :mu: :alien2: