Also tried 5.0.19454 and still nothing...
Do others really have mousewheel working?
I wonder what could cause such a thing...
- rami
On 09/22/2011 12:33 PM, Rami Ojares / AMG wrote:
Hi Phil,
Your example does not work with me.
Do you get the onmousewheeldelta events?
I am using version 5.0.19451
- rami
On 09/21/2011 10:31 PM, [email protected] wrote:
I modified your example slightly to add mousewheelactive="true" to
the y scrollbar. When I run this, the mousewheel scrolls the text. I
am using the latest version of trunk. Are you seeing different behavior?
Thanks!
Phil
<canvas>
<view with="boxmodel" height="100" width="150" bordertopwidth="3"
bgcolor="red" clip="true">
<text multiline="true" width="400">
asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf
asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf
asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf
asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf
asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf
asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf
asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf asdfasdf asdfasdfasdf
asdfasdf asdfasdfasdf
</text>
<scrollbar axis="x" usemousewheel="true"/>
<scrollbar axis="y" mousewheelactive="true" usemousewheel="true"/>
</view>
</canvas>
On Wed, Sep 21, 2011 at 8:42 AM, Amy Muntz wrote:
Hi Rami,
We're going to be looking into this today and we'll send out email
once we know more.
Thanks for bringing it to our attention.
Best,
Amy
On Wed, Sep 21, 2011 at 8:40 AM, Rami Ojares / AMG <
[email protected]_
<javascript:parent.wgMail.openComposeWindow('[email protected]')>> wrote:
I traced the problem back the laszlo versions and turns out that
my examples
work with 4.7 but not 4.9 and up.
I think this is a pretty serious bug.
- rami
On 09/21/2011 03:27 PM, Rami Ojares / AMG wrote: I even added a
handler that listens to mousewheelevents from lz.Keys but I get
nothing!
The following code shows that keyboard events are received but
not the mousewheeldelta events.
<canvas>
<handler name="onmousewheeldelta" reference="lz.Keys"
args="delta"><![CDATA[
Debug.debug("Delta = %w", delta);
]]></handler>
<handler name="onkeyevent" reference="lz.Keys"
args="key"><![CDATA[
Debug.debug("Key = %w", key);
]]></handler>
</canvas>
Can someone verify this?
I am using flash version 10.3.183.7 on windows and linux.
- rami
On 09/21/2011 03:01 PM, Rami Ojares / AMG wrote: Hi Amy,
I started by adding mousewheelactive="true" to both scrollbars.
Then only one of them.
No luck.
Then I set the text component explicitly as the scrolltarget
That's when the vertical scrollbar moved from right to left?!?
I tried experimenting with focusview and focusable but I got
nothing.
(I don't even know what role the focus plays in receiving
mousewheel events).
So if someone could show me a piece of code where the
mousewheel moves
the scrollbars I would be delighted.
- rami