Skip to content
Browse files

Update readme.

  • Loading branch information...
1 parent 598a383 commit 95cb9d09e7d11fde826addb09b618a108ede0db1 @dionjwa committed
Showing with 7 additions and 3 deletions.
  1. +7 −3 README.md
View
10 README.md
@@ -31,10 +31,14 @@ Then take your browser to:
You need to:
- import the spaceport haxelib in your .hxml build file
-- import the 'lib/haxe.Spaceport.js' file in your index.html file *before* your main game script. See ./demo/index.html
-- add a callback to haxe.Spaceport to get notified when Spaceport.io is ready (this adds the flash.display.Stage variable to haxe.Spaceport):
+- remap
- Spaceport.onSpaceportReady(function () :Void {
+ --remap flash:spaceport
+ --remap fl:spaceport
+
+- add a callback to flash.Lib to get notified when Spaceport.io is ready:
+
+ flash.Lib.onSpaceportReady(function () :Void {
new HelloWorld();
});

0 comments on commit 95cb9d0

Please sign in to comment.
Something went wrong with that request. Please try again.