;

PDA

Click to See Complete Forum and Search --> : how to make a button to scroll text ?


War Machine
04-13-2005, 10:09 PM
Hi, I need help to do a button that, when you click on it, some text or links are scrolling down. I don't know if you know what I mean because my english is pretty bad (I'm a french canadian), but here is an exemple of what I wanna do : http://www.megaquebec.net . As you can see, when you roll over the words in the upper part, links are coming down. But how to make that with : when you click on it text goes down, when you re-click text goes up ???


I hope you'll understand what I mean !!! :confused:

docree
04-14-2005, 02:17 PM
Even though I'm of French Canadian heritage, I'm not too good with Francais.
But, I see that you want a drop down menu.
This can be simply done in KoolMoves, but takes a little Actionscript Knowledge.

The drop down list can be placed in a movie clip that is
shown or hidden upon clicking the button.

Also, their menu is dynamic html.
So it would be a little harder to get a menu just like theirs.
More stuff to script...
DocRee

Google Translation
____________________
Quoique je sois d'héritage canadien français,
je ne suis pas trop bon avec Francais.
Mais, je vois que vous voulez un menu de baisse vers le bas.
Ceci peut être simplement fait dans KoolMoves,
mais prises une petite connaissance d'Actionscript.

La baisse énumèrent vers le bas peut être placée dans une agrafe de
film qui est montrée ou cachée en cliquetant le bouton.
En outre, leur menu est HTML dynamique.
Ainsi il serait plus dur pour obtenir un menu juste comme le leur.
Plus de substance au manuscrit... DocRee

gusmus
04-14-2005, 06:11 PM
I've got a script to do it somewhere, Necromanthus certainly has as well but somewhere in this forum there is a thread that deals with it. It was around about August last yead so try searching the forum. It's a very simple script and I'll try and dig it out over the weekend and post it here.

gusmus
04-14-2005, 06:34 PM
This isn't what I had in mind but it can be adapted to your needs easily.
Top button=scroll up, Bottom button=scroll down.

War Machine
04-18-2005, 11:36 PM
Yeah that's great !! thx for the help :p

War Machine
04-19-2005, 08:31 PM
One more thing... If my button make the text goes down, do you know how to make it goes up with the same button and just when the text is down ??

gusmus
04-20-2005, 03:27 AM
You can do that in "Button Actions". "on rollover" text goes down, "on release" text goes up. I don't think you can have two different actions (especially conflicting actions) working from the same button action. IE. click to go down and click to go up without some kind of script which will remember the last action and implement the other one the next time the button is clicked.

If it is for a menu like that I'd be inclined to have "on release" to show the text and then use "on rollout" to send the text back up.

War Machine
04-20-2005, 01:00 PM
It works really well. I made on press goes down and on release goes up. It's pretty cool thx.