in Technology

ContextMenu; selective menu items

With Flash MX 2004, it is now known that you can play around with the //here is a simple example to //hide selective menu items from the context menu conMenu_cm = new ContextMenu (); //remove the menu items "zoom" and "quality" conMenu_cm.builtInItems.zoom = false; conMenu_cm.builtInItems.quality = false; _level0.menu = conMenu_cm;

//here is another simple example to
//hide all built-in menus but show only selective ones
conMenu_cm = new ContextMenu ();
//hide the BuiltInItems
conMenu_cm.hideBuiltInItems();
//show just the zoom
conMenu_cm.builtInItems.zoom = true;
_level0.menu = conMenu_cm;

flashmx2004/contextMenuSelective/contextMenuSelective.zip”>Download

14 Comments

  1. Open actions panel, be in expert mode and make the panel active for typing [the cursor blinks at this time]

    Now do this
    1. Press esc key and release
    2. press s
    3. press d

    see what happens - This is a short cut way of typing long function names which are predefined in flash MX. Some more short cuts follow....

    Esc + s + d, stopDrag();
    Esc + d + r, startDrag();
    Esc + s + s, stopAllSounds();
    Esc + t + r, trace();
    Esc + i + f, if() {};
    Esc + f + i, for() {};
    Esc + d + o, do {} while ();
    Esc + s + t stop();
    Esc + p + l play();
    Esc + g + s gotoAndStop (|);
    Esc + g + p gotoAndPlay (|);
    Esc + f + n function | () {};
    Esc + r + e return (|);
    Esc + r + m removeMovieClip (|);
    Esc + d + e delete (|);
    Esc + s + p setProperty (|);
    Esc + s + v set(|);
    Esc + c + e case condition :
    Esc + u + m unloadMovie();
    Esc + l + m loadMovie();

  2. Open actions panel, be in expert mode and make the panel active for typing [the cursor blinks at this time]

    Now do this
    1. Press esc key and release
    2. press s
    3. press d

    see what happens - This is a short cut way of typing long function names which are predefined in flash MX. Some more short cuts follow....

    Esc + s + d, stopDrag();
    Esc + d + r, startDrag();
    Esc + s + s, stopAllSounds();
    Esc + t + r, trace();
    Esc + i + f, if() {};
    Esc + f + i, for() {};
    Esc + d + o, do {} while ();
    Esc + s + t stop();
    Esc + p + l play();
    Esc + g + s gotoAndStop (|);
    Esc + g + p gotoAndPlay (|);
    Esc + f + n function | () {};
    Esc + r + e return (|);
    Esc + r + m removeMovieClip (|);
    Esc + d + e delete (|);
    Esc + s + p setProperty (|);
    Esc + s + v set(|);
    Esc + c + e case condition :
    Esc + u + m unloadMovie();
    Esc + l + m loadMovie();

  3. how come its v 4.0 ?? whats new in v4.0 ??

  4. how come its v 4.0 ?? whats new in v4.0 ??

  5. Thanks for watching my site closely, I uploaded a global variable by mistake which was on my local server. There is no noticeable update though at this moment.

  6. Thanks for watching my site closely, I uploaded a global variable by mistake which was on my local server. There is no noticeable update though at this moment.

  7. ? 4 years Animator experience in classical , Flash Animation ,Character Designing, Story Board Designing and Background Designing.

  8. ? 4 years Animator experience in classical , Flash Animation ,Character Designing, Story Board Designing and Background Designing.

Comments are closed.