Classical dropdown menu (script)


The goal is to build dropdown menus only using a script.

⇒ animation ⇐

We gonna describe the stages right now.

Main movie

Stage 640x480. Frame rate = 30. Background color #336600.


You need a fair good understanding of POO despite the limitations of SwishMax.

I was stuck when I wished to close a menu while a previous one was opened.
I knew how to do this in POO C++ and with SwishMax IDE controling the timeline.
I was seeking for an elegant programing solution without success, so I feel ashamed of my tricky solution.

The principle is quite simple : every item is an object with filled rectangle, title, menu (and submenu if you want)

In Scene_1, enter :

Et voilà! It's up to you to improve that script!


Member of the Anti Hacker Alliance

Select a language if you need :

Page chargée en 0.025 sec.

Dernière Modification : Mer 29 Avril 2020 10:57
Copyright © 1999-2020 Jean-Paul Molina Tous droits réservés.

to Google