 		public function rootElement() : DocumentView
 		{
 			return m_rootElement;
+		}
+		
+		public function basePath() : String
+		{
+			return PathUtil.stringByDeletingLastPathComponent(stage.loaderInfo.url);
 		}
 		
 		

	import reprise.external.ResourceLoader;
	import reprise.ui.DocumentView;
	import reprise.ui.UIObject;
	public class Application extends Sprite
	{
		/***************************************************************************

				cssURL = this['cssURL'];
			}
			cssURL = stage.loaderInfo.parameters.css_url || cssURL;
			m_css = new CSS(cssURL);
			m_css.setBaseURL(applicationURL());
			addResource(m_css);
		}
		
		protected function loadResources() : void
