You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/12/20 06:16:57 UTC
[royale-asjs] 01/02: shiftkey and friends
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit ad639d7e73b1eb8dc92dd4332ddad3767672d02b
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Dec 19 22:15:29 2019 -0800
shiftkey and friends
---
.../MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as b/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
index 1340bd5..def4636 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
@@ -186,7 +186,11 @@ package mx.events.utils
{
Keyboard.setCapsLock(nativeEvent["getModifierState"]("CapsLock"));
}
- return new mx.events.MouseEvent(nativeEvent["type"], nativeEvent["bubbles"], nativeEvent["cancelable"]);
+ var event:mx.events.MouseEvent = new mx.events.MouseEvent(nativeEvent["type"], nativeEvent["bubbles"], nativeEvent["cancelable"]);
+ event.shiftKey = nativeEvent["shiftKey"];
+ event.ctrlKey = nativeEvent["ctrlKey"];
+ event.altKey = nativeEvent["altKey"];
+ return event;
}
}
Re: [royale-asjs] 01/02: shiftkey and friends
Posted by Carlos Rovira <ca...@apache.org>.
ok great Harbs!
Thanks! :)
El vie., 20 dic. 2019 a las 14:01, Harbs (<ha...@gmail.com>) escribió:
> Yes. It is. I already committed the changes.
>
> MXRoyale events have some special handling which is why some of the
> functionality is duplicated there.
>
> > On Dec 20, 2019, at 2:45 PM, Carlos Rovira <ca...@apache.org>
> wrote:
> >
> > This seems to me like something that should be located at Core-Basic
> level.
> > Not just at MXRoyale emulation
> >
> > El vie., 20 dic. 2019 a las 9:15, Harbs (<harbs.lists@gmail.com <mailto:
> harbs.lists@gmail.com>>) escribió:
> >
> >> OK
> >>
> >>> On Dec 20, 2019, at 9:40 AM, Alex Harui <aharui@adobe.com.INVALID
> <ma...@adobe.com.INVALID>>
> >> wrote:
> >>>
> >>> Feel free to do that. I didn't want to take the time to convert the
> >> vars in MouseEvent to getter/setters.
> >>>
> >>> On 12/19/19, 11:27 PM, "Harbs" <harbs.lists@gmail.com <mailto:
> harbs.lists@gmail.com> <mailto:
> >> harbs.lists@gmail.com <ma...@gmail.com>>> wrote:
> >>>
> >>> Any reason we’re not getting these from the wrappedEvent?
> >>>
> >>>> On Dec 20, 2019, at 8:16 AM, aharui@apache.org <mailto:
> aharui@apache.org> <mailto:
> >> aharui@apache.org <ma...@apache.org>> wrote:
> >>>>
> >>>> This is an automated email from the ASF dual-hosted git repository.
> >>>>
> >>>> aharui pushed a commit to branch develop
> >>>> in repository
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cb2ddc95767be4c97b12008d7851e00d3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637124236215825183&sdata=7v2q%2BdpERrh2LeD%2BXZkF6uvn%2BJlnuUroBBG6p7182UA%3D&reserved=0
> <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cb2ddc95767be4c97b12008d7851e00d3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637124236215825183&sdata=7v2q%2BdpERrh2LeD%2BXZkF6uvn%2BJlnuUroBBG6p7182UA%3D&reserved=0
> >
> >> <
> >>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cb2ddc95767be4c97b12008d7851e00d3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637124236215825183&sdata=7v2q%2BdpERrh2LeD%2BXZkF6uvn%2BJlnuUroBBG6p7182UA%3D&reserved=0
> <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cb2ddc95767be4c97b12008d7851e00d3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637124236215825183&sdata=7v2q%2BdpERrh2LeD%2BXZkF6uvn%2BJlnuUroBBG6p7182UA%3D&reserved=0
> >
> >>>
> >>>>
> >>>> commit ad639d7e73b1eb8dc92dd4332ddad3767672d02b
> >>>> Author: Alex Harui <aharui@apache.org <ma...@apache.org>>
> >>>> AuthorDate: Thu Dec 19 22:15:29 2019 -0800
> >>>>
> >>>> shiftkey and friends
> >>>> ---
> >>>> .../MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as |
> 6
> >> +++++-
> >>>> 1 file changed, 5 insertions(+), 1 deletion(-)
> >>>>
> >>>> diff --git
> >>
> a/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
> >>
> b/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
> >>>> index 1340bd5..def4636 100644
> >>>> ---
> >>
> a/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
> >>>> +++
> >>
> b/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
> >>>> @@ -186,7 +186,11 @@ package mx.events.utils
> >>>> {
> >>>>
> >> Keyboard.setCapsLock(nativeEvent["getModifierState"]("CapsLock"));
> >>>> }
> >>>> - return new mx.events.MouseEvent(nativeEvent["type"],
> >> nativeEvent["bubbles"], nativeEvent["cancelable"]);
> >>>> + var event:mx.events.MouseEvent = new
> >> mx.events.MouseEvent(nativeEvent["type"], nativeEvent["bubbles"],
> >> nativeEvent["cancelable"]);
> >>>> + event.shiftKey = nativeEvent["shiftKey"];
> >>>> + event.ctrlKey = nativeEvent["ctrlKey"];
> >>>> + event.altKey = nativeEvent["altKey"];
> >>>> + return event;
> >>>> }
> >>>> }
> >>
> >>
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira <http://about.me/carlosrovira>
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: [royale-asjs] 01/02: shiftkey and friends
Posted by Harbs <ha...@gmail.com>.
Yes. It is. I already committed the changes.
MXRoyale events have some special handling which is why some of the functionality is duplicated there.
> On Dec 20, 2019, at 2:45 PM, Carlos Rovira <ca...@apache.org> wrote:
>
> This seems to me like something that should be located at Core-Basic level.
> Not just at MXRoyale emulation
>
> El vie., 20 dic. 2019 a las 9:15, Harbs (<harbs.lists@gmail.com <ma...@gmail.com>>) escribió:
>
>> OK
>>
>>> On Dec 20, 2019, at 9:40 AM, Alex Harui <aharui@adobe.com.INVALID <ma...@adobe.com.INVALID>>
>> wrote:
>>>
>>> Feel free to do that. I didn't want to take the time to convert the
>> vars in MouseEvent to getter/setters.
>>>
>>> On 12/19/19, 11:27 PM, "Harbs" <harbs.lists@gmail.com <ma...@gmail.com> <mailto:
>> harbs.lists@gmail.com <ma...@gmail.com>>> wrote:
>>>
>>> Any reason we’re not getting these from the wrappedEvent?
>>>
>>>> On Dec 20, 2019, at 8:16 AM, aharui@apache.org <ma...@apache.org> <mailto:
>> aharui@apache.org <ma...@apache.org>> wrote:
>>>>
>>>> This is an automated email from the ASF dual-hosted git repository.
>>>>
>>>> aharui pushed a commit to branch develop
>>>> in repository
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cb2ddc95767be4c97b12008d7851e00d3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637124236215825183&sdata=7v2q%2BdpERrh2LeD%2BXZkF6uvn%2BJlnuUroBBG6p7182UA%3D&reserved=0 <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cb2ddc95767be4c97b12008d7851e00d3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637124236215825183&sdata=7v2q%2BdpERrh2LeD%2BXZkF6uvn%2BJlnuUroBBG6p7182UA%3D&reserved=0>
>> <
>> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cb2ddc95767be4c97b12008d7851e00d3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637124236215825183&sdata=7v2q%2BdpERrh2LeD%2BXZkF6uvn%2BJlnuUroBBG6p7182UA%3D&reserved=0 <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cb2ddc95767be4c97b12008d7851e00d3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637124236215825183&sdata=7v2q%2BdpERrh2LeD%2BXZkF6uvn%2BJlnuUroBBG6p7182UA%3D&reserved=0>
>>>
>>>>
>>>> commit ad639d7e73b1eb8dc92dd4332ddad3767672d02b
>>>> Author: Alex Harui <aharui@apache.org <ma...@apache.org>>
>>>> AuthorDate: Thu Dec 19 22:15:29 2019 -0800
>>>>
>>>> shiftkey and friends
>>>> ---
>>>> .../MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as | 6
>> +++++-
>>>> 1 file changed, 5 insertions(+), 1 deletion(-)
>>>>
>>>> diff --git
>> a/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
>> b/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
>>>> index 1340bd5..def4636 100644
>>>> ---
>> a/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
>>>> +++
>> b/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
>>>> @@ -186,7 +186,11 @@ package mx.events.utils
>>>> {
>>>>
>> Keyboard.setCapsLock(nativeEvent["getModifierState"]("CapsLock"));
>>>> }
>>>> - return new mx.events.MouseEvent(nativeEvent["type"],
>> nativeEvent["bubbles"], nativeEvent["cancelable"]);
>>>> + var event:mx.events.MouseEvent = new
>> mx.events.MouseEvent(nativeEvent["type"], nativeEvent["bubbles"],
>> nativeEvent["cancelable"]);
>>>> + event.shiftKey = nativeEvent["shiftKey"];
>>>> + event.ctrlKey = nativeEvent["ctrlKey"];
>>>> + event.altKey = nativeEvent["altKey"];
>>>> + return event;
>>>> }
>>>> }
>>
>>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira <http://about.me/carlosrovira>
Re: [royale-asjs] 01/02: shiftkey and friends
Posted by Carlos Rovira <ca...@apache.org>.
This seems to me like something that should be located at Core-Basic level.
Not just at MXRoyale emulation
El vie., 20 dic. 2019 a las 9:15, Harbs (<ha...@gmail.com>) escribió:
> OK
>
> > On Dec 20, 2019, at 9:40 AM, Alex Harui <ah...@adobe.com.INVALID>
> wrote:
> >
> > Feel free to do that. I didn't want to take the time to convert the
> vars in MouseEvent to getter/setters.
> >
> > On 12/19/19, 11:27 PM, "Harbs" <harbs.lists@gmail.com <mailto:
> harbs.lists@gmail.com>> wrote:
> >
> > Any reason we’re not getting these from the wrappedEvent?
> >
> >> On Dec 20, 2019, at 8:16 AM, aharui@apache.org <mailto:
> aharui@apache.org> wrote:
> >>
> >> This is an automated email from the ASF dual-hosted git repository.
> >>
> >> aharui pushed a commit to branch develop
> >> in repository
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cb2ddc95767be4c97b12008d7851e00d3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637124236215825183&sdata=7v2q%2BdpERrh2LeD%2BXZkF6uvn%2BJlnuUroBBG6p7182UA%3D&reserved=0
> <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cb2ddc95767be4c97b12008d7851e00d3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637124236215825183&sdata=7v2q%2BdpERrh2LeD%2BXZkF6uvn%2BJlnuUroBBG6p7182UA%3D&reserved=0
> >
> >>
> >> commit ad639d7e73b1eb8dc92dd4332ddad3767672d02b
> >> Author: Alex Harui <ah...@apache.org>
> >> AuthorDate: Thu Dec 19 22:15:29 2019 -0800
> >>
> >> shiftkey and friends
> >> ---
> >> .../MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as | 6
> +++++-
> >> 1 file changed, 5 insertions(+), 1 deletion(-)
> >>
> >> diff --git
> a/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
> b/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
> >> index 1340bd5..def4636 100644
> >> ---
> a/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
> >> +++
> b/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
> >> @@ -186,7 +186,11 @@ package mx.events.utils
> >> {
> >>
> Keyboard.setCapsLock(nativeEvent["getModifierState"]("CapsLock"));
> >> }
> >> - return new mx.events.MouseEvent(nativeEvent["type"],
> nativeEvent["bubbles"], nativeEvent["cancelable"]);
> >> + var event:mx.events.MouseEvent = new
> mx.events.MouseEvent(nativeEvent["type"], nativeEvent["bubbles"],
> nativeEvent["cancelable"]);
> >> + event.shiftKey = nativeEvent["shiftKey"];
> >> + event.ctrlKey = nativeEvent["ctrlKey"];
> >> + event.altKey = nativeEvent["altKey"];
> >> + return event;
> >> }
> >> }
>
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: [royale-asjs] 01/02: shiftkey and friends
Posted by Harbs <ha...@gmail.com>.
OK
> On Dec 20, 2019, at 9:40 AM, Alex Harui <ah...@adobe.com.INVALID> wrote:
>
> Feel free to do that. I didn't want to take the time to convert the vars in MouseEvent to getter/setters.
>
> On 12/19/19, 11:27 PM, "Harbs" <harbs.lists@gmail.com <ma...@gmail.com>> wrote:
>
> Any reason we’re not getting these from the wrappedEvent?
>
>> On Dec 20, 2019, at 8:16 AM, aharui@apache.org <ma...@apache.org> wrote:
>>
>> This is an automated email from the ASF dual-hosted git repository.
>>
>> aharui pushed a commit to branch develop
>> in repository https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cb2ddc95767be4c97b12008d7851e00d3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637124236215825183&sdata=7v2q%2BdpERrh2LeD%2BXZkF6uvn%2BJlnuUroBBG6p7182UA%3D&reserved=0 <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cb2ddc95767be4c97b12008d7851e00d3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637124236215825183&sdata=7v2q%2BdpERrh2LeD%2BXZkF6uvn%2BJlnuUroBBG6p7182UA%3D&reserved=0>
>>
>> commit ad639d7e73b1eb8dc92dd4332ddad3767672d02b
>> Author: Alex Harui <ah...@apache.org>
>> AuthorDate: Thu Dec 19 22:15:29 2019 -0800
>>
>> shiftkey and friends
>> ---
>> .../MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as | 6 +++++-
>> 1 file changed, 5 insertions(+), 1 deletion(-)
>>
>> diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as b/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
>> index 1340bd5..def4636 100644
>> --- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
>> +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
>> @@ -186,7 +186,11 @@ package mx.events.utils
>> {
>> Keyboard.setCapsLock(nativeEvent["getModifierState"]("CapsLock"));
>> }
>> - return new mx.events.MouseEvent(nativeEvent["type"], nativeEvent["bubbles"], nativeEvent["cancelable"]);
>> + var event:mx.events.MouseEvent = new mx.events.MouseEvent(nativeEvent["type"], nativeEvent["bubbles"], nativeEvent["cancelable"]);
>> + event.shiftKey = nativeEvent["shiftKey"];
>> + event.ctrlKey = nativeEvent["ctrlKey"];
>> + event.altKey = nativeEvent["altKey"];
>> + return event;
>> }
>> }
Re: [royale-asjs] 01/02: shiftkey and friends
Posted by Alex Harui <ah...@adobe.com.INVALID>.
Feel free to do that. I didn't want to take the time to convert the vars in MouseEvent to getter/setters.
On 12/19/19, 11:27 PM, "Harbs" <ha...@gmail.com> wrote:
Any reason we’re not getting these from the wrappedEvent?
> On Dec 20, 2019, at 8:16 AM, aharui@apache.org wrote:
>
> This is an automated email from the ASF dual-hosted git repository.
>
> aharui pushed a commit to branch develop
> in repository https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7Cb2ddc95767be4c97b12008d7851e00d3%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637124236215825183&sdata=7v2q%2BdpERrh2LeD%2BXZkF6uvn%2BJlnuUroBBG6p7182UA%3D&reserved=0
>
> commit ad639d7e73b1eb8dc92dd4332ddad3767672d02b
> Author: Alex Harui <ah...@apache.org>
> AuthorDate: Thu Dec 19 22:15:29 2019 -0800
>
> shiftkey and friends
> ---
> .../MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as b/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
> index 1340bd5..def4636 100644
> --- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
> +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
> @@ -186,7 +186,11 @@ package mx.events.utils
> {
> Keyboard.setCapsLock(nativeEvent["getModifierState"]("CapsLock"));
> }
> - return new mx.events.MouseEvent(nativeEvent["type"], nativeEvent["bubbles"], nativeEvent["cancelable"]);
> + var event:mx.events.MouseEvent = new mx.events.MouseEvent(nativeEvent["type"], nativeEvent["bubbles"], nativeEvent["cancelable"]);
> + event.shiftKey = nativeEvent["shiftKey"];
> + event.ctrlKey = nativeEvent["ctrlKey"];
> + event.altKey = nativeEvent["altKey"];
> + return event;
> }
> }
>
>
Re: [royale-asjs] 01/02: shiftkey and friends
Posted by Harbs <ha...@gmail.com>.
Any reason we’re not getting these from the wrappedEvent?
> On Dec 20, 2019, at 8:16 AM, aharui@apache.org wrote:
>
> This is an automated email from the ASF dual-hosted git repository.
>
> aharui pushed a commit to branch develop
> in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
>
> commit ad639d7e73b1eb8dc92dd4332ddad3767672d02b
> Author: Alex Harui <ah...@apache.org>
> AuthorDate: Thu Dec 19 22:15:29 2019 -0800
>
> shiftkey and friends
> ---
> .../MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as b/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
> index 1340bd5..def4636 100644
> --- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
> +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/utils/MouseEventConverter.as
> @@ -186,7 +186,11 @@ package mx.events.utils
> {
> Keyboard.setCapsLock(nativeEvent["getModifierState"]("CapsLock"));
> }
> - return new mx.events.MouseEvent(nativeEvent["type"], nativeEvent["bubbles"], nativeEvent["cancelable"]);
> + var event:mx.events.MouseEvent = new mx.events.MouseEvent(nativeEvent["type"], nativeEvent["bubbles"], nativeEvent["cancelable"]);
> + event.shiftKey = nativeEvent["shiftKey"];
> + event.ctrlKey = nativeEvent["ctrlKey"];
> + event.altKey = nativeEvent["altKey"];
> + return event;
> }
> }
>
>