Search code examples
javascriptflashactionscriptmp3wii

Flash Lite 3.1 + javascript


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?


Solution

  • The answer from ezekielDFM is wrong - i think

    my understanding is that the version 3.1 flash lite plugin used in opera on the wii has a knackered externalinterface - so will not work - and there is not much you can do to fix it - so you have to work around it - though i am not sure how - maybe with localconnection...

    ezekielDFM - feel free to correct me if you have actually created a swf with externalinterface and observed it to work on the wii ! - regardless of what the docs may claim

    EDIT : here is a hand written replacement - though i haven't tested it https://github.com/aadsm/customExternalInterface/blob/master/src/ExternalInterface.as