Mouse Click
  • JeromeErasmusJeromeErasmus October 2011

    Hi, excellent work on the xJSFL code guys!. loving it...

    Just a thought.  I have noticed that a mouse down and mouse up event would be the best tool you could have for WindowSWF's many JSFL programmers have to use nasty enterframe loops and other things to get feedback into the WindowSWF.

    This does not have to include the elment that was clicked etc... Just an Event dispached so that the WindowSWF can call JSFL to get what element is selected.

    When do you think you would add this feature to the event classes you already have.

     

    keep it up. well done

  • DaveDave October 2011

    Hey Jerome,

    Hmm... can you expand on that?

    There's something similar I'm using at the moment that's not committed for deteting document, timeline, layer and frame selections (as JSFL events are unfortunately totally unreliable!), but I'm not sure if I totally understand what you're looking for with the mouse down and up.

    Thanks also for the kind feedback! There's been a bit of a delay in getting the Beta out - it's now ready, but unfortunately I've been swamped with work so need to find the time to make a proper release and update the docs.

    Cheers,

    Dave

  • JeromeErasmusJeromeErasmus November 2011

    Kewl.

    Currently with JSFL you can add an event listener. e.g

    fl.addEventListener("documentClosed", myFunction);

     

    What I am suggesting, since you have an xJSFL.dll probably written with c/c++ is to include a mouse click event from the system. This event recieved from the system would be caught by the .dll and any JSFL / xJSFL would be able to register with the dispatcher in the .dll

    Now this would mean that the dll would have to persist an object in memory (i think and may be another way) and stay alive for the duration of the flash IDE session.

     

    Hope that helps

  • JeromeErasmusJeromeErasmus November 2011

    Oh, by the way are you using c or c++?

  • DaveDave November 2011

    That's not a bad idea!

    Actually the xJSFL dll is way simpler than that. It's basically a hijacked version of the sample dll - its only purpose is to serve as a persistent top-level namespace right now.

    I'll have a word with the only C person I know... unless that's your thing and you want to lend a hand!?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID Sign In with Google Sign In with Twitter

Sign In Apply for Membership

Tagged