Change 20071022-maxcarlson-k by maxcarlson@plastik on 2007-10-22 20:30:29 PDT     in /Users/maxcarlson/openlaszlo/trunk     for http://svn.openlaszlo.org/openlaszlo/trunk
Change 20071022-maxcarlson-k by maxcarlson@plastik on 2007-10-22 20:30:29 PDT
    in /Users/maxcarlson/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix context menus to work without bgcolor set

New Features:

Bugs Fixed: LPP-3852 - Context menu doesn't work properly with transparent views

Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: Remove extra assignments of width/height/x/y.  

In setBGColor() if the bgcolor was set for a context menu, reset its alpha to the correct value and allow opacity to be applied.  If clearing the bgcolor, don't remove the movieclip and don't allow opacity to be applied.

In setOpacity()  set the bgcolor alpha if not set by the context menu and overridden by the context menu.

In changeOrder() store and restore the current alpha value of the bgcolor movieclip.

In setContextMenu() always add a bgcolor view, and set its alpha to 0 to hide it if no bgcolor is currently set.
    

Tests: See LPP-3852.



git-svn-id: d62bde4b5aa582fdf07c8d403e53e0399a7ed285@6973 fa20e4f9-1d0a-0410-b5f3-dc9c16b8b17c

mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo,mcarlson/openlaszlo