21 Jan 2010 @ 7:44 PM 

The following example shows how you can add custom context menu items to a Flex application by creating new ContextMenuItem objects and adding them to the Flex application’s customItems array (via the contextMenu property)

<?xml version="1.0" encoding="utf-8"?>
<mx:Application name="Application_contextMenu_test"

private function init():void {
var customMenuItem1:ContextMenuItem = new ContextMenuItem("Flex SDK " + mx_internal::VERSION, false, false);
var customMenuItem2:ContextMenuItem = new ContextMenuItem("Player " + Capabilities.version, false, false);
var contextMenuCustomItems:Array = application.contextMenu.customItems;

<mx:Label text="Right click to see custom context menu items." />


Posted By: admin
Last Edit: 21 Jan 2010 @ 07:58 PM

Categories: What is Flex


Responses to this post » (3 Total)

  1. ROBERTO says:

    Pillspot.org. Canadian Health&Care.No prescription online pharmacy.Special Internet Prices.Best quality drugs. High quality pills. Buy drugs online

    Buy:Valtrex.Synthroid.Retin-A.Zovirax.Prevacid.Actos.Zyban.Prednisolone.Petcam (Metacam) Oral Suspension.Arimidex.Nexium.Mega Hoodia.Accutane.Human Growth Hormone.Lumigan.100% Pure Okinawan Coral Calcium….

  2. KELLY says:

    CHEAP GENERIC PHARMACY: Order@Eye.Care.Generic.Drugs.Online” rel=”nofollow”>.

    Buy Generic Pills Today!…

  3. Charlie says:

    prefers@enrolled.apprehend” rel=”nofollow”>.…

    tnx for info!!…

Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 Last 50 Posts
Change Theme...
  • Users » 59
  • Posts/Pages » 8
  • Comments » 14
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

About Me

    No Child Pages.

Multi Line Button

    No Child Pages.