InteractiveAdvertisingBureau / openvv

Other
81 stars 50 forks source link

Dispatch "OVVError" from the "OVVAsset" constructor #121

Open crayoned opened 8 years ago

crayoned commented 8 years ago
  if (!externalInterfaceIsAvailable()) {
      dispatchEvent(new OVVEvent(OVVEvent.OVVError, {
          "message": "ExternalInterface unavailable"
      }));
      return;
  }

this event will never catch, because I can subscribe on "OVVError" only after run constructor