3 Replies Latest reply on Apr 20, 2009 10:48 AM by ornj

    FLV Player in Air

      I am trying to package a web site prototype in AIR to make it easier for the client to use for presentations. I have several FLV players that work as expected in browsers but fail to load the NetStream when running through AIR. The html, swf, and flv are all located on the same level but if I just use the file name as the path it is not found in AIR. If I give it an absolute path such as "Users/user/Desktop/App/myvideo.flv" it plays just fine. Obviously an absolute path isn't going to be the same on a different system if the user installs to a different directory. Does anyone know how to properly load a stream or is there a way for me to retrieve the location of the AIR app so I can load that string into flash?