views:

211

answers:

1

I know almost nothing about actionscript. Is it possible for Flash Lite 3.1 to use the flash.external.ExternalInterface to allow javascript interaction?

If it is possible, can someone explain why jPlayer (open source) doesn't work on the Wii?

I have been looking for a flash mp3 player that will work on the Nintendo Wii and which supports javascript interaction (for instance, I need to be able to assign event handlers like TrackEnded() and be able to issue PlayTrack() commands) and haven't found anything. There are many flash mp3 players out there, but none of them are able to do what I require on the Wii. This leads me to wonder if what I'm after is not actually possible. Is there something about Flash Lite 3.1 (which is used by the Opera browser on the Wii) that precludes javascript interaction with flash objects?

A: 

You can use ActionScript 1.0 and 2.0 when developing for Flash Lite 3. ActionScript 2.0 does have the ExternalInterface API, therefore you can do what you're asking. Here's a link to the AS2 ExternalInterface docs:

http://flash-reference.icod.de/flash/external/ExternalInterface.html

As far as what version of Flash Lite is supported you will need to check the device capabilities of the mobile device.

ezekielDFM