in my other post about asDoc generating I talked about my expiriences in generating asDoc but that string in the .bat file works only for flash player 9 projects! in this artical I will talk about how you ca also generate asDoc successfully for flash player 10 codes also.
first read the last post here to get ready with the whole idea. http://www.myflashlab.com/2010/02/20/how-to-generate-asdoc-from-your-class-files/
the only modification you need to make to the .bat file is:
-external-library-path “C:\Program Files\Adobe\flex_sdk_4.0.0.6898\frameworks\libs\player\10″
so the .bat file would look to something like below:
adding that line to your .bat file means that you have downloaded and installed the new flex sdk from http://opensource.adobe.com/wiki/display/flexsdk/Downloads
Regards,
Hadi

June 18th, 2010 7:38 am
I can’t for the life of me get this to work. Here is my command line:
external-library-path “/sym-links/flex_4.1.0.16076_sdk/frameworks/libs/player/10.0″ -sp /www/sales_integration/as3_library/src/ -dc com.evolve.components.display.BitmapSprite com.evolve.components.poll.PollBase com.evolve.components.poll.PollController com.evolve.components.poll.PollEvent com.evolve.components.poll.PollQuestionVO -output /www/sales_integration/as3_library/docs/evolve_library_docs -exclude-dependencies=true
It asdocs the classes just fine, but does not asdoc any of the FP10.0 API.
Any ideas? I’m running this on OS X 10.6.2
June 18th, 2010 5:20 pm
Well Adam, in the two posts I have about generating asDoc for AS3 projects, I have just mentioned my own experience after a lot of true/false trials and I’m not familiar with other keywords like “-sp” that you have used!
Besides that, I never tried to generate the adobe code in my asDoc so I never tried and have no clue! though I would appreciate if you share your findings here so we can make this page even more helpful. Thanks.
July 10th, 2011 11:57 pm
Hi and thanks for your helpful tips!
I can’t get this to work too (using Eclipse and FDT, but I don’t think that the problem). Generating asDocs for v9 works fine. But when I apply the external-library-path, generating fails, returning this error message:
“C:\Program Files (x86)\Adobe\Flex Builder 3\sdks\3.4.1\frameworks\libs\player\10\playerglobal.swc(flash/display/Graphics): Error: abc bytecode decoding failed.”
I tried different sdks, but no success. So what’s wrong (with me)?
July 11th, 2011 12:04 am
What’s wrong with me? Bothering other people with pretty dumb mistakes! In this case: I used a different sdk containing the asdoc.exe for generation as the sdk containing the FP 10 playerglobal.swc. Now it works fine.