[MiniBuilder] Minibuilder on the mac

0 views
Skip to first unread message

fdp

unread,
May 2, 2010, 5:43:54 AM5/2/10
to minibuilder
Hi,
I'm a designer and AS3 developper working on the mac. I'd like to help
on this side of the project.
In order to get the "copy / paste" working, i compiled minibuilder
(with minibuilder) and made a few changes on "ScriptAreaEvents.as".
Cut, Copy, Paste and Select_all events are not dispatched when a
Texfield is on focus.
So i added this on the "onKeyDown" event handler :
<code>
else if(String.fromCharCode(e.charCode) == 'x' && e.ctrlKey)
{
onCut();
}
else if(String.fromCharCode(e.charCode) == 'c' && e.ctrlKey)
{
onCopy();
}
else if(String.fromCharCode(e.charCode) == 'v' && e.ctrlKey)
{
onPaste();
}
else if(String.fromCharCode(e.charCode) == 'a' && e.ctrlKey)
{
onSelectAll();
}
</code>
I also added "= null" on the "onSelectAll" function parameter.
and finally removed the "Cut, Copy, Paste ans Select_All" event
listeners.

It works fine on the mac !

Romain.



Victor D.

unread,
May 4, 2010, 8:07:36 AM5/4/10
to minib...@googlegroups.com
great, thank you
i don't have time right now, i'll merge this into the code soon and release with the next version ;)
--
regards,
victor dramba

cabanova.com
victordramba.com


Reply all
Reply to author
Forward
0 new messages