I have a Flash player application that plays movies and, if I give it a relative URL, it works fine in the IDE (Flash Pro CC) and on the webserver. The problem is that I need to play a movie that is on the webserver, but in a folder outside of the website (outside of root).
I tried passing the filename as such: "file://C:/Users/MyName/Desktop/Movies/mymovie.mp4". This works fine in the IDE - I can press Ctrl+Enter and the demo works. It also works fine if I test it in a browser (Ctrl+Alt+Enter). But via my IIS server (which is on the same laptop as the IDE), given the same filename, the same application won't play (although, it will play if given a relative URL to a file within the website). Any ideas why not, or what's going on?
These work as they should, in IDE or browser: netStream.Play("Movies/mymovie.mp4"); netStream.Play("http://localhost/Movies/mymovie.mp4");
This works, only in IDE, not in browser: netStream.Play("file://C:/Users/MyName/Desktop/Movies/mymovie.mp4");
I see now, though, that the Flash SWF is on the client browser, and that's the problem. Is there a way to reference a file back on the server, but that sits outside of the website? Maybe something similar to this method: https://forums.adobe.com/thread/838338, but that works for .mp4 files?