Flyout Menus

  • kevsterb007
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Apr 27, 2005
  • Posts: 145
  • Status: Offline

Post April 28th, 2005, 3:40 pm

What is the best way to make a flyout menu? I have made some sucessfully (in flash) before, but I'd like to know how to make one that works well.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 28th, 2005, 3:40 pm

  • stinger
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Jan 22, 2004
  • Posts: 157
  • Loc: San Jose, CA
  • Status: Offline

Post April 29th, 2005, 2:52 am

I feel the best fly around menus are used through a simple actionscript function that uses coordinates to move through a onEnterFrame function.

example:

Code: [ Select ]
onClipEvent (enterFrame) {
    _x += (endX-_x)/div;
    _y += (endY-_y)/div;
}
  1. onClipEvent (enterFrame) {
  2.     _x += (endX-_x)/div;
  3.     _y += (endY-_y)/div;
  4. }


All you have to do is change the endX, and endY variables with a button.
  • kevsterb007
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Apr 27, 2005
  • Posts: 145
  • Status: Offline

Post April 29th, 2005, 2:34 pm

Can you explain how this works and/or how to do it???
  • stinger
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Jan 22, 2004
  • Posts: 157
  • Loc: San Jose, CA
  • Status: Offline

Post April 29th, 2005, 3:22 pm

http://www.actionscript.org/tutorials/intermediate/Easing_Menu_System/index.shtml

thats the link to a tutorial about easing menus. Once you get the basics, you can then implement the theory into anything you want to move.

Create a movie clip for each of your menus. The movie will contain all the buttons etc. . .. and then give the onEnterFrame function to the movie clip. You will have 2 end coordinates for each menu you want to move. If you have 5 menus you want to have flyout and flyin, then you will need 10 different ending coords. perhaps you want to use the same coords, but have the menus rotate. Then you'll be executing the flyout function which triggers the flyin function on end.

[/url]
  • kevsterb007
  • Graduate
  • Graduate
  • No Avatar
  • Joined: Apr 27, 2005
  • Posts: 145
  • Status: Offline

Post April 29th, 2005, 7:55 pm

That is not what I want to do. I want to have a movieclip, that when the user hovers over it: will make another symbol flyout. There they can choose from a few buttons. (I can't put this into words...) Like a DHTML menu.

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 43 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.