I’d be happy with whatever approach adobe could up with as long as it solves the issue discussed above.
Your right, set mouseX/Y probably isn’t the way to go, but the idea behind it goes something like this. If your in fullscreen mode: You set Mouse.hide() Set mouseX and mouseY to the center of the stage When the mouse moves you get the offset from the center, update the scene Reset mouseX and mouseY to the center of then stage and repeat I can see Adobe only allowing this functionally in full-screen mode for security reasons. I’m sure this approve would work, but yeah there are better solutions. Lower-level mouse input API would be great! On May 26, 8:53 am, David Lenaerts <[email protected]> wrote: > I think a more general request for a lower-level mouse input API would be > fitting :-) > It doesn't involve setting the mouseX and mouseY writable (which honestly > would make little sense) but offer another entry point to listen to mouse > events (ie: not the display list) and all it'd say is: "The mouse device > moved [not necessarily the cursor], and here's your deltas". > > > > On Wed, May 26, 2010 at 8:51 AM, richardolsson <[email protected]> wrote: > > I think it is a great feature request and have voted for it. > > > To answer Michael & Moley; Someone would need it if they wanted to > > create a traditional first person control scheme, which does not mean > > clicking and dragging to rotate the view (as was already covered in > > Pete's feature request description.) I actually touched briefly upon > > this very limitation in the book, and I think it's a perfectly valid > > feature request. > > > Cheers > > /R > > > On May 26, 7:29 am, Michael Iv <[email protected]> wrote: > > > That is funny feature, Why would someone need it really ? > > > > On Wed, May 26, 2010 at 5:08 AM, Moley <[email protected]> wrote: > > > > Has nothing to do with first person shooters or away3d, your looking > > > > for mouse coordinates regardless of mouse position > > > > > To break out of flash into browser mouse coordinates, use javascript, > > > > ala > > > >http://www.frontenddeveloper.net/wiki/index.php?title=BrowserMouse_fo. > > .. > > > > > To break out of browser limits, require the user to click and hold > > > > (click and hold the flash/browser in above link) > > > > > You can find a similar example > > > >http://ambiera.com/coppercube/demo.php?demo=walktrough > > > > -- > > > Michael Ivanov ,Programmer > > > Neurotech Solutions Ltd. > > > Flex|Air > > |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.nethttp:// > >www.meetup.com/GO3D-Games-Opensource-3D/ > > > Tel:054-4962254 > > > [email protected] > > > [email protected] > > --http://www.derschmale.com
