OK, I'm going to try giving it its own separate movieclip.
This will need to be resized as the sprite is resized, I guess I can
copy the code
that resizes the background clip.


On Fri, Jun 20, 2008 at 4:03 PM, Max Carlson <[EMAIL PROTECTED]> wrote:
> This was to fix http://jira.openlaszlo.org/jira/browse/LPP-3852 - Context
> menu doesn't work properly with transparent views.  This is an indicator
> that we really need a separate movieclip for the context menu...
>
> Henry Minsky wrote:
>>
>> In changeset 6973 you added this code that keeps a _bgcolorhidden flag
>>
>>  6973        max     // set the bgcolor alpha if not set by the
>> context menu and overridden by the context menu
>>  6973        max     if (this.__LZbgRef && (this._bgcolorhidden !=
>> true && this._bgcolorshown != true))
>>   994    jgrandy          this.__LZbgRef._alpha = 100*v;
>>
>> that's causing a bug whereby setting the opacity on a view with a
>> bgcolor can fail
>> (LPP-5551).
>>
>> I don't understand this clause, why is it necessary to disable the
>> opacity setting on the bgcolor clip
>> when a menu is applied?
>>
>>
>>
>
> --
> Regards,
> Max Carlson
> OpenLaszlo.org
>



-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to