SwishMax Dynamic Right-Click Context Menu Example

In this opensource SwishMax 3 example, I have created a music player which utilizes
my dynamic
right-click context menu
method.

What’s unique about this player is that each time the song selection changes, the right-click context menu is automatically rebuilt
on-the-fly from arrays consisting of the music playlist items. Using the menu item’s caption, I am able to determine which item is selected and what function each context menu item needs to serve. This means I am not limited to using static functions for each context menu item. I can use one dynamic function to serve all of the context menu items. An indicator is also automatically inserted in the menu to emphasize which item is currently selected.
The album-art image automatically changes with each playlist item. I used my album-art search to find the images for the player.

Right-Click Image For Music Playlist And Player Controls

This music player supports mp3, swf, and flv formatted music files.

The SwishMax 3 swi is attached to this post.

To use this file, you must have
the latest release of SwishMax 3.
Attached File(s) dynamic_context_menu_playlist.swi
  • ElviS

    Wow! It’s cool.