5 Replies Latest reply: Jul 2, 2012 9:56 AM by marcelbatista RSS

    Folder Hierarchy on android project

    marcelbatista

      Hey guys!

       

      So, I'm having a issue here that I hope someone may help.

       

      My project folders are organized like this

       

      assets

           sub_folder

                somevideo.flv

      bin

           sub_folder

                myproject.swf

      src

           sub_folder

                myclass.as

       

      I want to play somevideo.flv using NetStream. I included the assets folder in the publish settings for android 3.2 (the added path is the full path not only the relative path so I got something like "c:\users\myname\documents\....\assets"

       

      suppose my NetSctream object is called stream. What should the string value of path be set to? I was thinking something like "../../assets/sub_folder/somevideo.flv" but can't get it to work.

       

      this.stream.play(path);