kellys
February 14, 2003, 6:52pm
1
Hey gang,
Check out http://www.samsungelectronics.com/wow/comdex2002/
Does anyone know how to get that menu to rise up when you mouse over it? And then it goes back down…apparently when you mouse out?
I am refering to the grey boxes.
Thoughts anyone?
Kellys
system
February 14, 2003, 9:39pm
3
Now that is cool… I hope one of the Flash masters here knows how to do that and shows us…
system
February 14, 2003, 9:42pm
4
talent - no doubt…this is sweet stuff…
system
February 14, 2003, 11:01pm
5
it shouldn’t be that hard …
http://www.kirupa.com/developer/mx/easing_mouseclick.htm
in the tutorial the coordinates are defined depending the mouse position when you press over the stage
just change them to your predefined positions
showmenuY = something
hidemenuY = something
then use a hitTest()
onClipEvent (enterFrame) {
if (this.hitTest (_root._xmouse, _root._ymouse, true)) {
this._y += (showmenuY - this._y) / inertia
} else {
this._y += (hidemenuY - this._y) / inertia
}
}
am i making any sense ??
nope :-\ ? download the attachment
system
February 19, 2003, 7:47am
6
Thanks Kax…this worked perfectly!!!
system
February 19, 2003, 9:42am
8
You don’t have to use hitTest with MX. You can simply use rollOvers and dynamic event handlers Saves ressources, and it’s much cleaner.
system
February 19, 2003, 9:06pm
9
i’ve had some bad experiences with rollovers, they seem to want to not rollout…
hmm…that’s a little hard to understand…its like when you rollover them…the movie you want plays…but when you rollout it sometimes just stays. its really a pain in the butt…=)