Major Issues

Mm’kay… I’ve been using Flash for a couple years, but mostly for animation…

Right now I’m using it to make a website (which I’ve never done before) and so far things have been going good but as I progress I’ll probably run into more problems.

My current one, however, is making my buttons to work. At the moment the button is inside a movie clip within a movie clip. I put the button inside a movie clip so that I could add rollover effects (it’s what first came to mind).

Okay, so the parent clip’s instance name is “Template”, which is the basic layout of the site. The button is within a movie clip labelled “RosterButton_Clip”, and the button itself is labelled “RosterButton”. What I’m attempting to do, is when the mouse roll’s over the “RosterButton_Clip” movie clip, the clip opens up to reveal the actual button itself, and vice versa when it rolls off the clip. I’ve already completed that step, but I cannot seem to get the button to function.

I’m trying to make it so that when the button is released, the clip “Template” moves to the next frame, which will have a transition effect before the data display is changed. But I cannot seem to get the ActionScript to properly function.
If the problem is so simply obvious, then I’m too stupid to realize what it is.

Does anybody have any clue what the heck I’ve done wrong?

If you don’t understand all that jibberish, don’t worry about it.

Try this on your button:[AS]on (release) {
_root.Template.gotoAndPlay(FRAME);
}[/AS]Template is the Instance Name, correct?

Sure is.

Do I need quotation marks around the instance name in AS? It’s Flash MX…

No, insert it the way I gave it to you but change FRAME to the proper frame number within the “Transfer” movie clip.

'Course… will do.

I think the AS worked… but the button doesn’t respond… =/

Hmm what’s the proper ActionScript where you click in a specific area and something happens, I forget…

So then how do you know it worked? :smiley:

It might be because you placed script on the Movie Clip, so the Movie Clip’s script is being read instead of the Button’s.

I’m more careful than that :stuck_out_tongue:

I know the button isnt functioning because the BG color of it is supposed to change when you click on it o_O and it didn’t do that

I GOT IT TO WORK!!! O_o and I didn’t even use the button

Well, thanks for your assistance wizard >_> It’s greatly appreciated

Lol.

Well, something must be “over” it to keep it from functioning.

More than likely it’s just the stupid button doors (eye roll) oh well, somehow my tinkering got it to work and I’m jumping through the roof :slight_smile:

One last quick thing before I blow the capillaries in my brain o_O

Scroll Button - Episode One: How to Make 'Em O_o

I’m just a magnet of stupidity.

There are tutorials here at kirupa… search. :wink:

Also, in the Best Of Kirupa section here at the forums look for the thread “Scroller by Claudio,” that’s a really good one.