Hi, I’m trying to create a vertical sliding menu (it’s basically the infinite menu like in the tutorial except i want it to be vertical instead of horizontal)…can anyone help? THanks!
The same way but instead of using the _x positions and stuff use _y positions!
oh yeah duh! haha…i knew that…but I was also wondering how would i make each section clickable and go to a particular frame as it is clicked? THanks!
*Originally posted by monkeygirl *
**oh yeah duh! haha…i knew that…but I was also wondering how would i make each section clickable and go to a particular frame as it is clicked? THanks! **
in the get url action field thing
*Originally posted by redViper *
**in the get url action field thing **
What?
Just make a bunch of buttons, convert them into a movieclip! <— that would be the infinite menu
now right click on a button and choose actions and you can make actions like this one:
on(release) {
_root.mymovieclip.gotoAndStop(frame);
}
change “mymovieclip” to the movieclip you want it to go to a specific frame
and change “frame” to the frame you want it to go to.
note: use gotoAndPlay(). to make it go to a frame and start playing from that frame!
Thanks for your replies, Syko! I get it now!
Ok, here’s what I’ve done.
So I made the buttons and the movies that I want playing when the button is clicked.
Let’s say the movie is called square
The buttons are on the main timeline.
Where should the movie be? Does it have to be on stage?
I tried using the script that Syko gave me
on(release){
_root.square.gotoAndPlay();
}
but nothing happens when I click on the button. What am I doing wrong? Please help!
Does this do anything?
on (release) {
trace ("Hi there");
}
what does “trace” do? i tried it… it doesn’t work…
It’s supposed to output “Hi there”. You must be doing something wrong. Can you post your fla?
ok, here’s my testfile…
i’m not even making a sliding menu right now…all I want to know is how do i make the movie clip “square” play when the button is clicked. Thanks!
You need to give it an instance name. It’s in the Properties panel. Other than that it looks OK.
pom :moustache
hmm…I just gave it an instance name…but clicking on the button still doesn’t make the movie play…
oh i got it ~ i put a stop action in the first frame of the movie…now it works! Thanks a lot! =D