You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2021/08/18 10:44:26 UTC

[royale-asjs] branch develop updated: Make sure NET_STATUS const is acessible from swf as well

This is an automated email from the ASF dual-hosted git repository.

yishayw pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 1e93e0d  Make sure NET_STATUS const is acessible from swf as well
1e93e0d is described below

commit 1e93e0d444d5e82303880bba08056ea8ae176d18
Author: Yishay Weiss <yi...@hotmail.com>
AuthorDate: Wed Aug 18 13:44:15 2021 +0300

    Make sure NET_STATUS const is acessible from swf as well
---
 frameworks/projects/MXRoyale/src/main/royale/mx/events/NetStatusEvent.as | 1 +
 1 file changed, 1 insertion(+)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/events/NetStatusEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/events/NetStatusEvent.as
index 63f3f5e..31f2b08 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/NetStatusEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/NetStatusEvent.as
@@ -39,6 +39,7 @@ import org.apache.royale.events.IRoyaleEvent;
 COMPILE::SWF
 public class NetStatusEvent extends flash.events.NetStatusEvent
 {
+	public static const NET_STATUS:String = "netStatus";
 	public function NetStatusEvent(type:String, bubbles:Boolean = false,
 							  cancelable:Boolean = false, info:Object = null
 							  )