   xna loading sprites from a directory
  Hi guys, i have created a sprite class and what i am trying to do is, basically load a bunch of sprites from a specified folder in the project, and was wondering how i can do this is in xna c#. public void Load(ContentManager content, String asset)   {  dirInfo = new DirectoryInfo("asset");  FileInfo[] rgFiles = dirInfo.GetFiles("*.*",  SearchOption.AllDirectories);  foreach (FileInfo file in rgFiles)  { Texture2D sprite = content.Load<Texture2D>(file.FullName); spriteList.Add(sprite);  }   }I am not sure how the content.Load will work with this when getting each file?   
  Well, that depends where you sprite are loaded. The Content.Load<Tex2D>(string Name) load a texture from the file Content../myProject/Content/Nameso if you have a file in ../myProject/SpritesI Dont think the Content.Load method will do this.why done you useTexture2D.FromFile(string Location) which loads a texture from a file ANYWHERE on the computer?hope this helps :)^Andy^ 