Your .xar file is your project source, you must export your working animation as a .gif, flash (.swf) or .avi file format for it to be acceptable by YouTube.