Skip to content

Allows 2-way communication between some javascript running in your client and your emulator using the FlashExternalInterface

Notifications You must be signed in to change notification settings

dank074/javascript-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

javascript-plugin

Allows 2-way communication between some javascript running in your client and your emulator using the FlashExternalInterface

How do I use it?

You can use the following Vue application which will work out of the box with this plugin: https://github.com/dank074/youtube-overlay Just include the scripts and add a div with id=app, and you are set to go

I don't wanna use that Vue trash, how do I use it with my own javascript?

Receiving a message:

FlashExternalInterface.openHabblet = function(a,b){console.log("recieved " + a)}

Sending a message:

document.querySelector('object, embed').openroom(JSON.stringify({"header": "test", "data": {"name": "Efrain"}}))

Built in features

  • Arrowkey walking
  • Youtube jukebox (use interaction yt_jukebox on any furniture)
  • Slots Machine (use interaction slots_machine on any furniture)
  • :youtube command ALTER TABLE permissions ADD COLUMN cmd_youtube enum('0','1') DEFAULT '1';

About

Allows 2-way communication between some javascript running in your client and your emulator using the FlashExternalInterface

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages