1 Jan 2007

Mario has solved the Wiimote problem on the Flash Player in an ingenious way. He sets the scale of one SWF to the keycode captured in JavaScript and uses the resize event of the Stage to capture this value and pass it to the actual movie using LocalConnection. Rock on, as John would say! :)

Read Mario's post on the subject.

Note: Some of the issues that I mentioned earlier are still present so the ideal solution, of course, would be for Nintendo to implement these key events natively in the Flash Player.

Creative Commons LicenseThe The understated genius of Mario! article by Aral Balkan, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.0 UK: England License.

Add Your Comment

Spam Protection by WP-SpamFree

The understated genius of Mario!

  1. The work you guys are doing with Flash on the Wii is awesome, Aral! Keep it up!

    Mike Downey
  2. You may want to also keep an eye on a new project ive started called Flii which tackles the other end – i.e fully integrating the wiimote into flash movies running on a mac/pc – early days as yet – but its working as proof of concept . http://www.freesome.com/node/220

    Pete Hobson
  3. Pete: Your project looks very cool. It’s going to make developing apps for the Wii much easier. Best of luck!

    aral
  4. Aral,

    Is there any TOTURIAL how to use the wiimote with a flashgame.
    i tried for day’s but i cant get it to work.
    maybe someone can make one. with mario’s solution

    thank’s

    Roy
  5. Hi Roy,

    No tutorial that I’m aware of at the moment. I guess we’re all too busy playing with it to write about it! :) I agree it would be very useful for people starting out.

    I’m going to be talking about this at FITC if you’re attending — I should have materials for it by then.

    aral
  6. thanks for the response ,i wil be watching

    Roy
  7. Anyone having trouble with Flash and the new Opera for Wii release? I’m trying to disable the D-Pad scrolling on the Wii, because while I can capture the D-Pad events, the Up and Down keys bubble up to the browser level and scroll the screen. Or maybe there’s a way to author the HTML/Flash so that it sits in the screen and doesn’t require scrolling? Appreciate any thoughts.

    shawn