views:

120

answers:

2

Hi,

I have an API that inherits flash.display.Sprite .When I try to generate the ASDocs for the API, The ASdoc shows that my class inherits from flash.display.Sprite, but doesnt link or there is no click-able link to the Sprite's ASDoc. Can anyone tell me what I am missing.

The command I am using in my ant script is

<java jar="${asdoc.jar}" dir="${FlexSDK.dir}/frameworks" fork="true" maxmemory="256m" failonerror="true">
   <arg line='-load-config "${flex-config.xml}"'/> 
   <arg line='-source-path ${src.dir}'/>
   <arg line='-doc-sources ${src.dir}/com'/>
   <arg line='-output ${docs.dir}'/>
   <arg value='-library-path+=${FlexSDK.dir}/frameworks'/>

Thanks in advance for your help.

A: 

ASDoc generates documentation for your classes, not for the Flash's default classes.

Amarghosh
A: 

You can include the Flash and Flex docs as long as you have access to them locally to your build. By default they aren't included, but if you have access you just need to include another library path. See this post for more details:

http://unitedmindset.com/jonbcampos/2010/01/28/building-asdocs-with-ant/

jonbcampos
Hi, Thanks for your response. I did try that too, but it doesn't solve the issue.
arunpon