> Hey,
> 1. You should be using CursorX and
> CursorY<http://jsc.svn.sourceforge.net/viewvc/jsc/core/ScriptCoreLib/JavaScri...>.
> IE does not have clientX property, that is whay its use is somewhat
> restricted.
> 2. There are multiple
> ways<http://zproxy.wordpress.com/2009/06/18/new-example-exposedfunctions/>to
> work with native javascript APIs. You may be interested in
> Expand.Of(x).SetMembet(key,
> value)<http://jsc.svn.sourceforge.net/viewvc/jsc/core/ScriptCoreLib/JavaScri...>
> 3. At this time I suggest you to use an external minifier tool. In a future
> version jsc could emit smaller code.
> 4. Name mangling was introduced to support multiple assemblies with same
> type names. See here how to expose static
> methods.<http://zproxy.wordpress.com/2009/06/18/new-example-exposedfunctions/>You
> could use such static methods for interop.
> Also check out this post:http://zproxy.wordpress.com/2009/06/28/updated-example-exposedfunctions/
> Does that help?
> On Fri, Jun 26, 2009 at 9:33 PM, mcintyre321 <mcintyre...@gmail.com> wrote:
> > Hi, I'm just trying out jsc again after an 18month hiatus. Got some
> > questions!
> > 1. I'm trying to use clientX and y on the IEvent class but they are
> > internal. Should they be? Should any properties on JS objects be
> > internal?
> > 2. Is there some way to access properties of objects that aren't
> > exposed in the ScriptCoreLib, e.g. an extension method on object that
> > lets me do something like myEvent.Get<string>("clientX") and maybe a
> > setter too...
> > 3. It would be neat if there was some way to split the generated
> > script files up by namespace, and load in only the required files at
> > runtime. The iphone has a limit on cache size (see
> >http://devphone.com/small-is-beautiful-on-the-iphone-if-you-want-a-go...
> > )
> > so JSC scripts aren't much help as they are around 400k, even if you
> > are only using a small part of the framework. Is there any chance of
> > this?
> > 4. The name of the classes generated are a bit mangled. It would be
> > really nice if the scripts were easy to reference and instantiate from
> > a normal js file and had visual studio js intellisense hints.
> > I appreciate that to do 3 and 4 would require significant amounts of
> > work, but I think they would really help make jsc easier to use in the
> > mainstream.