Skip to main content
Known Participant
November 28, 2017
Question

load video

  • November 28, 2017
  • 1 reply
  • 247 views

Is it possible to write code that checks for a video in a location "../Assets/myVideo" if not found it looks here "myVideo"? I using a button that will load this into the video component. Flash CC 2015. any suggestions would be helpful.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
November 28, 2017

yes, you can use your netstream's NetStatusEvent.NET_STATUS event's info.code property to check for streamnotfound.