mxmlcTask.setDynamicAttribute("debug", project.getProperty("debug"));
mxmlcTask.setDynamicAttribute("context-root", project.getProperty("contextRoot"));
((NestedAttributeElement)mxmlcTask.createDynamicElement("load-config")).setDynamicAttribute("filename", flexConfigPath);
mxmlcTask.setProject(project);
target.addTask(mxmlcTask);
HtmlWrapperTask htmlTask = new HtmlWrapperTask();
htmlTask.setTaskName("html-wrapper");
htmlTask.setTitle( mxmlFile+ " Flex Application");
htmlTask.setFile(mxmlFile +".html");