Skip to content

Commit 8f72842

Browse files
committed
avm2: Stub LocalConnection
1 parent 5ac4f43 commit 8f72842

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package flash.net {
2+
import flash.events.EventDispatcher;
3+
public class LocalConnection extends EventDispatcher {
4+
public function get domain():String {
5+
// FIXME - implement this
6+
return "localhost";
7+
}
8+
}
9+
}

core/src/avm2/globals/globals.as

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ include "flash/media/VideoStatus.as"
156156

157157
include "flash/net/IDynamicPropertyOutput.as"
158158
include "flash/net/IDynamicPropertyWriter.as"
159+
include "flash/net/LocalConnection.as"
159160
include "flash/net/NetGroupReceiveMode.as"
160161
include "flash/net/NetGroupReplicationStrategy.as"
161162
include "flash/net/NetGroupSendMode.as"

0 commit comments

Comments
 (0)