all groups > flash (macromedia) > august 2003 >
You're in the

flash (macromedia)

group:

scroll effect



scroll effect johnny63
8/30/2003 10:35:57 PM
flash (macromedia): any ideas on how to do the scroll as seen on this website http://www.hugeinc.com/2001/huge_1000.html in the client section.

i want to be able to scroll over it with out having visable buttons.
Any link to a tutorial similar to that would be great :)

johnny

Re: scroll effect ELECTRON
8/31/2003 12:05:59 AM
nothing hard man,
just create 3 layers, on bottom layer - it is a background (hand with clock), infront of it, half-transpared layer contained text and everyhing you want to mask-out, and third layer, infront of half-transpared, and set it as mask layer for second (only for second, half-transpared layer) ,
this mask layer contains rectangular (can be any shape, and animated) movieclip, what have function, what determine it's position relative to the mouse pointer, something like this simpliest example:

OnClipEvent(EnterFrame) {
this._y = _root._ymouse;
}

and if you wish to have buttons over it, just create one more layer infront and put there another movieclip with your buttons and other stuff, and add to it same function as for mask movieclip, to make it's sliding synchonised with mask movieclip

some you can see:
http://www.ultrashock.com/ff.htm?http://www.ultrashock.com/flas/Detailed/189.html
it works similar...

it is other ways to do it, but anyway should use masking

Re: scroll effect christiandior
8/31/2003 2:24:48 AM
electron,

read the post before you answer!

the question was about the scroll effect in client section.

OK?


Re: scroll effect ELECTRON
8/31/2003 9:15:23 AM
hey man,
the principe is same for both cases, but in second variant mask is static, and moves masked movieclip what contain buttons, moves invert-relative to the mouse pointer..
create a movieclip , inside it create another movieclip with buttons inside,, and mask it with a mask movieclip named "mask", and add onEnterFrame action for movieclip, contained buttons..

onClipEvent (enterFrame) {
if( _parent.hitTest(_root._xmouse, _root._ymouse, true)){
this._y = 0-_parent.mask._height/this._height*_parent._ymouse;
}
}

and remember to have contents in all clip's centered to the clip...
there i create simpliest example for you:

http://www.electron.balticom.lv/navmenu_y.html

take it, i delete it soon i think...

hope it helps you...



Re: scroll effect johnny63
8/31/2003 11:09:40 PM
hmmm...sounds interesting but not sure how it will work. Can you send me a fla file of it to johnnynineteen63@adelphia.net? I try your link but got a page error message. Thanks for helping me out :)

johnny

Re: scroll effect ELECTRON
8/31/2003 11:19:13 PM
it works man, did you see a link what i give, for fla just press source in menu..
((;

http://www.electron.balticom.lv/navmenu_y.html

any case i'll send it to you..


AddThis Social Bookmark Button