2015-01-15 28 views
0

AS3 클래스의 ASDoc과 비슷한 MXML 문서에 클래스 ASDoc을 추가하는 방법이 있습니까?MXML 파일 용 클래스 ASDoc을 만드는 방법

MyClass.as의 ASDoc :

/** 
* This shows up when hovering over the class in Flash Builder. 
* The Group class is the base container class for visual elements. 
* <p>The <code>&lt;s:Group&gt;</code> tag inherits all of the tag 
* attributes of its superclass and adds the following tag attributes:</p> 
* 
* 
* @see spark.components.DataGroup 
* @see spark.components.SkinnableContainer 
* 
*/ 
public class MyClass extends Group { 

} 

MyClass.mxml의 ASDoc :

<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" 
     xmlns:s="library://ns.adobe.com/flex/spark"> 

    <!--- 
    ASDoc??? 
    Does this show up when hovering over the class in Flash Builder? 
    A label, text input and button that is used to select a file or a folder 

    --> 
</s:Group> 

답변

1

예, 그것은 가능하며 당신이 솔루션에 가까이 있습니다

<!--- This shows up when hovering over the class in Flash Builder! --> 
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" 
    xmlns:s="library://ns.adobe.com/flex/spark"> 
</s:Group> 

도 참조 : Documenting MXML files