GhostWire ContextMenu Flash script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: ghostwire.com
  • Last update:
  • Platform: Windows / Linux / Mac OS
  • Language: Flash
  • Price:Commercial License (
  • Company: GhostWire Studios (View more)

GhostWire ContextMenu script description:




Publisher review:
GhostWire ContextMenu is a derivative of the GhostWire Menu (included in this set) and allows you to create "simulated" context menus in your applications. This Flash component is a derivative of the GhostWire Menu (included in this set) and allows you to create "simulated" context menus in your applications. It provides an alternative solution to the traditional "right-click" context menu (in Flash applications, right-clicking brings up the Flash player's menu).

With the GhostWire ContextMenu, you can allow users of your application to trigger a customized context menu by "long-pressing" (clicking on a spot and holding for a predefined time), or clicking on a spot with the ALT key held down at the same time.

Features

Viable "Right-Click" AlternativeThe Flash player is not only a single-click platform, but also a single-button mouse platform. Considering that the player is meant to be ubiquitous (and Mac platforms traditionally has just single-button mouse), this should not come as a surprise. However, context menus play an important role in many applications. Implementing contextual menus in Flash applications has been difficult, due mainly to the fact that right-clicks bring up the Flash player's context (settings) menu.

Although Flash player 7 now makes it possible to create customized context menu, it is nevertheless impossible to create a totally customized menu (and of course, requires the use of Flash MX 2004). The GhostWire ContextMenu component provides an alternative implementation of contextual menus in Flash applications. The menu is triggered by a "long-press" instead of "right-click". You can also allow users to trigger the menu by ALT-clicking (hold down ALT key and click).

Hotspot AreaThe hotspot area (the area ready to receive context menu triggering click events) can be defined during authoring time. The component instance appears as a greenish box which you can scale and resize using the Transform tool - this defines the hotspot area and you can position it at the appropriate places. During runtime, the setSize method is available for resizing the hotspot area.

Menu Item IconsEach menu item can be assigned its own icon. The component will attempt to load a movieclip symbol (exported in the library) and place it next to the label if the item's 'icon' property has been defined (with the symbol identifier). In the examples here, there are icons defined for the items in "New->Folder", "New->Shortcut", etc.

Built-in HandlersThe component has some built-in triggers - when the 'action' property of the component is set to 'GetURL', the 'data' property associated with a menu item is assumed to represent an URL and when the item is selected (clicked on), the URL will be loaded. When the 'action' is set to 'GotoAndPlay' or 'GotoAndStop', the 'data' property is assumed to be a frame number/label.

onSelect EventsThe component has an onSelect event, which you can use to specify the action that should be executed when a menu item is selected by the user. This comes into play if you do not wish to use the built-in handlers (and set the 'action' property to 'Event').

Callback EventsEach item can also have a specific 'callback' method. If defined, this callback method supercedes the built-in handlers and onSelect event.

Snap to PixelThe component snaps to pixel when published, ensuring that it looks crisp and sharp when the movie plays. Usually to achieve this, you need to ensure that you place your movieclips at integer coordinates (no decimal place) during authoring time. This is not necessary with GhostWire components, which will automatically snap to pixel when published. For example, if the component was placed at x coordinate 20.2, when published it will be placed at x coordinate 20.0 instead. In addition, the component also resizes itself to integer widths and heights.

Truly SkinnableIf the flexibility of the color settings still does not meet your requirments, you can change thstill doekin' of the component.
GhostWire ContextMenu is a Flash script for Financial Modeling and Analysis scripts design by GhostWire Studios. It runs on following operating system: Windows / Linux / Mac OS.

Operating system:
Windows / Linux / Mac OS

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5