private static AnimationChainListSave LoadAnimationChainListSave(IElement element, string rfsName)
{
AnimationChainListSave acls = null;
ReferencedFileSave rfs = element.GetReferencedFileSaveByInstanceNameRecursively(rfsName);
if (rfs != null)
{
string fullFileName = Facades.FacadeContainer.Self.ProjectValues.ContentDirectory + rfs.Name;
if (System.IO.File.Exists(fullFileName))
{
acls = AnimationChainListSave.FromFile(
fullFileName);
}
}
return acls;
}