Flyout Menus

  • kevsterb007
  • Graduate
  • Graduate
  • kevsterb007
  • Posts: 145

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • stinger
  • Graduate
  • Graduate
  • stinger
  • Posts: 157
  • Loc: San Jose, CA

Post 3+ Months Ago

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
  • kevsterb007
  • Posts: 145

Post 3+ Months Ago

Can you explain how this works and/or how to do it???
  • stinger
  • Graduate
  • Graduate
  • stinger
  • Posts: 157
  • Loc: San Jose, CA

Post 3+ Months Ago

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
  • kevsterb007
  • Posts: 145

Post 3+ Months Ago

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 15 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.