Welcome Guest ( Log In | Register )

2 Pages V   1 2 >  
Reply to this topicStart new topic
> Vertical Follower Menu, Beginner - Intermediate
cmonney
post Jan 11 2005, 08:25 AM
Post #1


~ Soul Rebel ~
Group Icon
Group: Main Team*
Posts: 3,625
Joined: 18-May 04
From: a mind-altering psychedelic trip
Member No.: 3





The Vertical Follower Menu
_by cmonney

Introduction
We are going to see in this tutorial how to achieve very simple, one elegant and innovative "gallery" menu: the vertical follower menu. There are of course several ways to do it, but I'm about to show you; in my opinion, the easiest way to create it...


See preview :: HERE ::




[ vertical follower menu ]



Steps to Create Animation

Please download the partial source first: Attached File  vertgal_a.swi ( 7.08K ) Number of downloads: 683


The following steps will help you to create the animation you see above:

i. Open the source provided. You will find two sprites, one of them (menu) will have another sprite inside (button) and a shape (menuBG).

ii. With the "menu"; sprite selected, change to the script panel and enter the following code:

CODE
onload () {
speed = 15
}
onEnterFrame() {
ypos = _root._ymouse;
_y += (ypos-_y)/speed;
}


Note: If you test your movie in the player (do not test it in SWiSHmax, it will give you an error in the Debug panel. "_ymouse" is not supported it in flashplayer4 (the one used in the SWiSHmax appl)) you'll see how the "menu" sprite follows the mouse/pointer "Y" position.

iii. With the "menu" sprite still selected, create a dynamic textbox (font: _sans, size: 10, color: white) in the left side of the sprite. Name it "description" and DO NOT check the target box.

iv. Open the "button" sprite inside "menu", and select "trigger&bg". Change to the script panel and enter the following code in the "on(Press)" action:

CODE
_parent.description = "picture one";


v. With "trigger&bg" still selected and in script panel, enter the following code in the "on(Press)" action:

CODE
_parent._parent.content_loader.loadMovie("pic1.swf");


Note: we are almost finish, if you test your movie in the player and click the button, the textbox will display the text (picture one).

vi. All we have to do now is copy and paste the button. Position 'em and make the respective changes (name, label, description & content to load) to each one of them.

There you have it, easy as pee your pants in winter. I hope you enjoy this effect, and please... fell free to experiment with this lil' technique and show us your work. That's all the time I have for now, see you guys/gals in the boards. And remember..

Keep On SWiSHing!
 
+Quote Post  Go to the top of the page
oliverp
post Mar 4 2005, 08:57 PM
Post #2


New Member
Group Icon
Group: Member
Posts: 9
Joined: 4-March 05
Member No.: 2,397





cool...helped me a lot
 
+Quote Post  Go to the top of the page
golffy
post Mar 4 2005, 11:01 PM
Post #3


New Member
Group Icon
Group: Member
Posts: 18
Joined: 1-February 05
From: 36693
Member No.: 1,957





flowers.gif Thanks a lot. It looks cool. I'll try it.
 
+Quote Post  Go to the top of the page
sharlsw
post May 31 2005, 09:08 PM
Post #4


New Member
Group Icon
Group: Member
Posts: 10
Joined: 31-May 05
Member No.: 4,413





excellent tute
 
+Quote Post  Go to the top of the page
afsun2003
post Feb 28 2006, 03:01 PM
Post #5


New Member
Group Icon
Group: Member
Posts: 12
Joined: 2-February 06
Member No.: 9,461





nice tutorial...bigwink.gif
 
+Quote Post  Go to the top of the page
erbe0279
post Mar 1 2006, 04:19 AM
Post #6


New Member
Group Icon
Group: Member
Posts: 3
Joined: 3-October 05
Member No.: 7,311





just great smile.gif thanx a lot
 
+Quote Post  Go to the top of the page
BMW_CHUBB
post Mar 1 2006, 02:23 PM
Post #7


New Member
*
Group: Banned
Posts: 17
Joined: 13-February 06
Member No.: 9,723





Carn't download the source file but was going to have a go at this tutorial. Sad.gif

This post has been edited by BMW_CHUBB: Mar 1 2006, 02:26 PM
 
+Quote Post  Go to the top of the page
*D*
post Mar 1 2006, 04:57 PM
Post #8


Merry KissMoose
Group Icon
Group: Main Team
Posts: 15,990
Joined: 18-May 04
From: North Pole
Member No.: 2





QUOTE(BMW_CHUBB @ Mar 1 2006, 02:23 PM) *
Carn't download the source file but was going to have a go at this tutorial. Sad.gif



You'll have to follow the tut on this until cmonney re-uploads the file, I do have this on my PC I'll search later for you.
 
+Quote Post  Go to the top of the page
BMW_CHUBB
post Mar 2 2006, 01:21 PM
Post #9


New Member
*
Group: Banned
Posts: 17
Joined: 13-February 06
Member No.: 9,723





QUOTE(Trueer @ Mar 1 2006, 04:57 PM) *
You'll have to follow the tut on this until cmonney re-uploads the file, I do have this on my PC I'll search later for you.


Thank you Trueer. biggrin.gif
 
+Quote Post  Go to the top of the page
osta90
post May 3 2006, 07:26 PM
Post #10


New Member
Group Icon
Group: Member
Posts: 23
Joined: 28-November 04
Member No.: 1,224





Thanks for share it
 
+Quote Post  Go to the top of the page

2 Pages V   1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 29th July 2010 - 11:07 PM
Sell Early Stock Thoughts | Air Jordan Release Date | IKA Processing Equipment | Home Insurance | Anime Downloads