benbjohnson / melomel

External ActionScript Interface.
https://github.com/benbjohnson/melomel/wiki
Other
42 stars 8 forks source link

SWC Stub #11

Closed benbjohnson closed 14 years ago

benbjohnson commented 14 years ago

Problem: A reference to Melomel.connect() is needed inside the application but applications should not link to Melomel when deployed into production.

Solution: Create a melomel-stub.swc that provides empty calls to Melomel methods but does not attempt to open an sockets.