aadsm / customexternalinterface Goto Github PK
View Code? Open in Web Editor NEWCustom implementation of Flash's ExternalInterface that works on the Wii
Home Page: http://www.aadsm.net/libraries/customexternalinterface
Custom implementation of Flash's ExternalInterface that works on the Wii
Home Page: http://www.aadsm.net/libraries/customexternalinterface
Custom ExternalInterface ======================== This library is a proof of concept of the solution proposed by the ["Alternative Method for Message Passing Between JavaScript and Flash"](http://www.aadsm.net/papers/messagePassingJavaScriptFlash.pdf) paper. It is currently being used on the Opera Unite "Media Player" Application to make it work on the Wii. This web-application relies on the SoundManager 2 library that was recompiled into a wii capable version using a previous version of this library. How To Use It ------------- In order to make it work with your own Flash-powered web-application you need to follow these, hopefully, simple steps: 1. Comment the "`import flash.external.ExternalInterface;`" line from your *.as and compile it using the `src/ExternalInterface.as` instead. 2. Copy `swf/MessageProxy.swf` to some folder on your web-application. 3. Add this bit of configuration to your web-application: `cEIConfig = { proxyUrl: "path/to/MessageProxy.swf", flashId: "flashDomObjectId" };` Technical Information --------------------- There are issues with too many messages being passed in a short period of time, the Wii has limited memory that is easy to fill up resulting in an OOM error message. The Flash object needs to be visible all the time, the Wii has an optimization that stops all Flash objects not visible to the user. Only one flash object per page is permitted to have this hack.
I have been trying to compile soundManager with this addition, but am having difficulties. What are the steps involved to add this to soundManager?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.