flash(unfit, heeeeelp!)
- Started
- Last post
- 7 Responses
- jpea
hey,
anyone know of a tut or have the know how to make the HUGE inc. vertical menu scroller?
(i know, i know...)
http://hugeinc.com/workbook/i made one that works with buttons and on(rollOver), but it's sorta jerky and such...
- lvl_130
shouldn't that just be an MC that contains all of the buttons along with a bit of ymouse coordinates corresponding to said MC?
- jpea0
yeah, that's how i did it orginally, but it's a bit jumpy because instead of sliding in relation to the ymouse position, it slides a set amount, depending on what button you're over. i just want to make it smooth and the only way i can think is in relation to the ymouse.
- lvl_130
can't you just track the ymouse position to move one pixel at a time by setting the y mouse to follow the original yposition (based on a 50/50) above 0 move down y pixels. below 0 move up y pixels. all based on ymouse?
sorry if i am only confussing matters. unfit would definately explain it in better terms.
- jpea0
it's kinda funny that a person from portugal can explain things to a minnesotan so easily ;-)
damn, i think i've just been awake too long today.. i'll put it away till morning and i know something will come
thanks for the help though lvl_13 .. much appreciated!
- jpea0
well, if anyone wants to pick what i have apart, it's here:
test swf file
http://www.createclear.com/nt/fla
http://www.createclear.com/nt/hu…if anyone would be so obliged (or bored) and can figure out how to constrain it to a certain area (like say, a mask, or hell, the menu movie clip), send me an email or something!
thanks!
g'night
- Mick0
a higher framerate may help make it a little smoother
- Anarchitect0
mick's right. For any smooth 'sliding' the movie should be at least 30 fps.
That's just a correlation between a mask size/mask._ymouse and the masked movie size. Remeber to add a "-"., when the mouse is going down [positive] the movie should bwe going up [negative] and vice versa.