Archive for the 'asdocs' Category
ArgumentError: newElement not of a type that this can be parent of
ArgumentError: newElement not of a type that this can be parent of
Reason
Incorrect Code:
XML:
No comments
-
<s:RichEditableText x="11" y="35" text="Just text
" width="352">
-
<s:TextFlow color="0x555555">
-
<s:p>
-
<s:span fontWeight="bold">Just text</s:span>
-
<s:br />
-
<s:a href="http://twitter.com/">Click here</s:a>
-
<s:p>
-
<s:img source="images/node_loader1.swf"></s:img>
-
</s:p>
-
</s:p>
-
</s:TextFlow>
-
-
</s:RichEditableText>
Error #1501: Error occurred writing to file
Create ASDocs:
[echo] Copying api documentation to project documentation directory
[exec] Loading configuration file C:\projects\flex2\resources\3.0.0\frameworks\flex-config.xml
[exec] An unexpected error occurred.
[exec] Error #1501: Error occurred writing to file C:\projects\flex2\HTMLProject\api\toplevel_classes.xml.
[exec] Documentation was created in C:\projects\flex2\HTMLProject\api\
Not sure what caused this error about but I restarted Flex Builder and it went away. File may have been open or locked.
No comments