hey guys! I finally got around to starting mdipiV[SIZE=1]2[/SIZE] but am now running into a problem.
I want the menu to follow the mouse, but only up and down. I just can’t figure out the code. so far is a simple start drag, in and onClipEvent handler… i can’t figure what to use…_y, or _ymouse. and where do i put it?
Or if you’re feeling lazy and don’t wanna deal with the actionscripting then you can use Flash MX’s mouse follow component. I had to modify the AS a little on the component to make it follow the mouse just on the y axis cause the original had the object follow your mouse in all directions. I attached a fla for you to play with. Hope it helps. =)
I found the component by accident actually from a fla I got off the net awhile back, but I dont remember where i got it from. You can just copy the component from my sample fla and paste it onto your movie, just change the target names in the component’s parameters. Or you can just give your menu an instance name of “followClip” since my sample component is already targeting that instance name. Hope that helps. =)
belive me it did! i knew how to work it, i just wanted to know if i could down load it so it was in my components list. After using this i relized that i is easyer to just have it still, lol. Well its off to finish this up. I like the final design, and i am doing alot in DW as well. I cant wait to see the finished product! i will love it for a day, then hate it. lol,
I remember reading from somewhere that components like this comes in a set with other useful components too, but I forgot the name of it. Oh well. :-\ Good luck.
Yeah!! thats the name of it!! I just couldnt recall what it was. The follow mouse component is just one of the many great components in that set. Thanks h88, I will definitely invest in that set after I gather 10,000 pennies. =)
You’re right Lost, it would be easier to just copying the code and pasting it, but I tend to do things the hard way. A habbit I need to kick to the curb. But thanks for the code though, I’m gonna save it to a text file for future references. =)