[Laszlo-dev] LPP 6980, context menus in swf9 and high CPU usage
André Bargull
andre.bargull at udo.edu
Sun Apr 26 12:48:59 PDT 2009
Exactly! :-)
On 4/26/2009 9:34 PM, Henry Minsky wrote:
> Oh that's a good idea, you mean keep the ContextMenu on each sprite, but
> just copy over it's state
> to the displayed menu on demand...
>
>
>
> On Sun, Apr 26, 2009 at 3:21 PM, André Bargull <andre.bargull at udo.edu
> <mailto:andre.bargull at udo.edu>> wrote:
>
> Ok, just one note.
>
> >From your JIRA comment:
>
> That looks like a good workaround. So we will need to modify the
> context menu implementation for swf9 to keep a list
> of the context menu items for each view, so they can be swapped
> in on demand. I guess we'll have to also keep track of whether
> the hideBuiltInItems API call was made for a given view.
>
>
> You can just copy over the ContextMenu#builtInItems and
> ContextMenu#customItems arrays over to the actual displayed
> ContextMenu instance. That way you can re-use many things of the
> current implementation.
>
>
> - André
>
>
>
> On 4/26/2009 9:09 PM, Henry Minsky wrote:
>
>
> Hi Andre,
>
> I'm going to work on a fix for the context menu issue using your
> suggestion of swapping in menu items on a top level menu,
> working in the 4.2 branch.
>
> When I get that done I'll migrate to trunk.
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com <mailto:hminsky at laszlosystems.com>
> <mailto:hminsky at laszlosystems.com
> <mailto:hminsky at laszlosystems.com>>
>
>
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com <mailto:hminsky at laszlosystems.com>
>
>
More information about the Laszlo-dev
mailing list