Coder Social home page Coder Social logo

airext / native-mouse Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 6.0 2.03 MB

Adobe AIR Native Extension that provides information about native mouse position and events

License: MIT License

Shell 0.38% ActionScript 29.25% C 51.03% Mercury 17.99% Objective-C 1.35%

native-mouse's People

Contributors

pepusz avatar rozd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

native-mouse's Issues

Any way to update this to 64-bit?

I can't package my application as 64 bit as long as this native extension only works for 32 bit.

I know it's a long shot, but can this be done?

Integration into FlashDevelop throws an error

I'm using:
Air 3.9
FlashDevelop 4.5.2.5
Windows 7 x64

I've added the NativeMouseLib/bin/NativeMouseLib.swc to my Library.

In the Readme are two different democodes:

//Trace Hello
if (NativeMouse.isSupported){
    trace("Hello");
}

//Doesnt trace Hello
if (NativeMouse.isSupported()){
    trace("Hello");
}

Do I use isSupported() or isSupported? I could not find isSupported in NativeMouse.as.
But when I'm using isSupported(), he never gives back a true on Win7 x64. either in the IDE Debug-Mode or packaged as an *.air.

When I just get rid of the isSupported-Part and just write:

var info:Object = new NativeMouse().getMouseInfo();

The Code crashes with the following error:

[Fault] exception, information=TypeError: Error #1009: Cannot access a property or method of a null object reference.

So I guess NativeMouse really is not supported on my Win7?
I want to get the current Mouse Position on NATIVE_MOUSE_MOVE, to track where the window was dragged. Any Idea how to solve this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.