Does it make a difference if you compile the app to run as swf7 or swf8 ?

On 9/13/07, taocore <[EMAIL PROTECTED]> wrote:
> The contextmenuitem which called setSeparatorBefore(true) does not work on
> linux with FF2. It works on widows xp with FF2.
> Laszlo version: 4.0.2
> Try the code below, the item2 does not work. If you comment out
> setSeparatorBefore(true), it works well.
> <canvas debug="true">
>   <view width="100" height="100" bgcolor="red">
>     <method event="oninit">
>        var cm = new LzContextMenu();
>        var item1 = cm.makeMenuItem('item1', new LzDelegate(this,
> 'typesth'));
>        cm.addItem(item1);
>        var item2 = cm.makeMenuItem('item2', new LzDelegate(this,
> 'typesth'));
>        cm.addItem(item2);
>        item2.setSeparatorBefore(true);
>        this.setContextMenu(cm);
>     </method>
>     <method name="typesth">
>       Debug.write('type something');
>     </method>
>   </view>
> </canvas>
>
> taocore


-- 
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to