Flex :: Asdoc - Add A Comment To Some Elements In A Document?

Nov 21, 2010

I want to add a comment to some elements in a Flex document, and process the comments using ASDoc. I can easily do this for the script portion, but I end up with a ton of ugly "This property can be used as the source for data binding." messages for each element I declared in Flex. Is there any way to embed a comment into a flex element so that it can be read by ASDoc? I have tried using the standard

<!-- -->

notation, but that didn't seem to work.

EDIT: The notation seems to be swallowed up as an HTML comment..

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Using ASDoc To Document Package Functions?

Feb 3, 2009

I've started using ASDoc to document my latest project. But for some reason, it will only document one package function per package. This means that it documents one function in my utils package and then skips all the others.

Has anybody here successfully documented a utils-like package, with a ton of package functions?

View 1 Replies

Flex :: Force Asdoc Run In English?

Apr 4, 2010

My operation system is Window XP in Chinese. I'm running flex sdk > asdoc in command line. Asdoc picks up the system default language. How can I force it to be run in English language environment?

View 1 Replies

Flex :: Possible To Include Example Mxml In ASDoc?

Mar 25, 2011

Is it possible with ASDoc to include example MXML code in your comment?[code]

View 2 Replies

Flex :: Add XML To Asdoc Function Comments In It?

Mar 30, 2011

How do you add sample xml to asdoc function/class comments in Flex? They can obviously be added, but they wont show in the hover asdoc comments in Flash Builder 4. [code]...

View 1 Replies

Flex :: Add AsDoc Comments To A Component?

Aug 3, 2011

I have a canvas based component, so when I check the asdoc comments, they have inherited comments of Canvas. can we remove that inherited comments, and add our own AsDoc comments..

View 1 Replies

Flex :: Documenting Private Members With ASDoc

Dec 10, 2009

Can ASDoc be set to document private members ala JavaDoc?

View 1 Replies

Flex :: ASDoc In Create Documentation For Packages/namespaces?

May 18, 2009

As the title says - is it possible to document my ActionScript packages / namespaces using the ASDoc comments and the included asdoc command line tool?

View 1 Replies

Flex - Replace 'hardcoded' Identifier COMMENT With The Variable EditedField?

Jun 3, 2010

as I probably do not describe the problem in the right terms, I was not able to get an answer with google. In the following code, I would like to replace 'hardcoded' identifier COMMENT with the variable editedField. How to do that?

var editedField:String = event.dataField;
if (model.multipleProcessingData[i][editedInformationProductNO].COMMENT != null{
}

View 2 Replies

Actionscript :: Flex - Cannot Get The Comments To Show In File When Running Asdoc

Jul 28, 2009

cannot get the comments to show in actionscript file when running asdoc.. is this a known bug?

[Bindable]
/** test comment */
public var currentSearchTextValue:String;

does not show anything in the generated documentation.

View 3 Replies

Flex :: Components - Clicking On The Element Should Open Or Trigger An Action For Displaying That Particular Comment?

May 20, 2010

I'm using Flex's Advanced Datagrid for a project and need inline comments, in a similar style to Excel spreadsheet comments.A little visual indicator should indicate if a field is associated with a comment, and on clicking on the element should open or trigger an action for displaying that particular comment.

View 1 Replies

Flex :: Asdoc Throwing Errors For MXML Component That Includes A Separate .as File?

Jul 27, 2010

I have an MXML component that includes a .as file with

<fx:Script source="myfile.as" />

Running asdoc throws a whole bunch of errors like

"Error: The private attribute may be used only on class property definitions."
"Error: The public attribute can only be used inside a package."

Solution 1 is to move the AS code into the MXML file. Kind of defeats the objective of using external .as files for MXML components in the first place, so really a last resort option. Code inside a mxml file is messy (I really don't want logic mixed in with mxml), and would also require using the < !--- ---> asdoc syntax.

Solution 2 is to have the MXML component inherit from a normal class file. That would mean no private members in the base class, only internal (meaning a separate package for the component to be safe) or protected. This would make things tedious to say the least.

Are there any other work-arounds or possibly a beta/nightly version of asdoc that fixes the problem? I am using the Flex 4.1.0.16076 SDK, the "latest production quality release".

Update:Just tried using asdoc from the svn trunk, (4.5.0 rev. 16942) and the problem persists.

View 1 Replies

ActionScript 3.0 :: How To Append A Comment In XML

Feb 4, 2011

I'm writing an XML preferences file for an Adobe AIR project, and I'd really like to include XML comments. How does one append a comment to XML? The following doesn't work (the file just ends up with a blank line where the comment should be):

ActionScript Code:
var prefs:XML = new XML();
prefs.ignoreComments = false;

[code]....

View 2 Replies

ActionScript 3.0 :: Getting Comment Box To Work On Website?

Mar 22, 2011

I'm trying to get a simple comment box to work on a a website I'm working on. I want it to be able to send an email with the comment to a specific email address. I have AS3 code and PHP code from a thread on these forums but I can't seem to get it to work.

ActionScript Code:
import flash.net.URLLoader;
import flash.net.URLRequest;
submit_btn.addEventListener( MouseEvent.CLICK, submitClick );
function submitClick( e:MouseEvent ):void {
sendData();
[Code] .....

The php file is called mail.php in the main directory of the site along with the swf file with the AS code loacted in it. Does the AS have to be in a separate file or can I leave that on the frame where the actually text boxes are?

View 4 Replies

Set Up Comment Boxes On A Flash Movie?

Jun 9, 2009

Is it possible to set up comment boxes on a flash movie? For instance, if I am viewing a page on my flash movie and I wish to make a comment on it, is there a way to set up a comment box and also show all of the previous comments as well? I figure it is but I am just unsure as to how to start it.

View 1 Replies

ActionScript 3.0 :: Get Columns Comment With Amfphp?

Aug 1, 2011

I'm using amfphp to get some info from SQL database.

My php code of the file in "services" folder looks like[code]...

View 1 Replies

Actionscript 3 :: Flex - Reference Flex Elements Added During Runtime?

Jan 17, 2010

I am having difficulty getting a reference to elements added after compile-time using the 'id' property. I have seen a few forum topics suggesting that this isn't possible, and that getting a reference to elements added this way is trickier, but never just exactly what that trick is. This code throws a fun little: Error: uncaught exception: Error calling method on NPObject! [plugin exception: "ReferenceError: Error #1069: Property canvas_tentpoles_0 not found on SGraph and there is no default value."].

[Code]...

View 2 Replies

ActionScript 2.0 :: Creating Chatbox With Name And Comment Field

Mar 10, 2009

I am trying to make a chatbox for my website, I don't even think I need a database because I don't want people to sign in. I want a Name field, and a comment field. So I want it to appear in a box saying:
Name:NAMEHERE
Comments:These are the comments.

And so on. So I am still kind of new working with actionscript, I don't really know how this would work. I am looking to make something that looks like this: [URL]. That is my old freewebs account and I am shooting for something like that chatbox but instead of you having to log in you just type your name in a field and it appears.

I am Using Action Script 2.0 but I can make it 3.0 if required and I am running Flash CS3

View 2 Replies

ActionScript 3.0 :: Comment Code On Flash Builder?

Nov 19, 2009

In fLash Builder 2, I would eventually like to select a bunch of lines of code in the actions panel, click with the right mouse button and click "apply // comment" but that doesnt work in FlashBuilder , at least not that way. this seems to be a kind of a silly problem but it iirrtates me

View 1 Replies

Ruby :: Broken Toggle-comment In Textmate?

Feb 28, 2011

I'm having a problem with the Toggle Comment command ("Comment Line / Selection") in TextMate for Actionscript 2 (I know, I know). I've tried completely stripping the language set down to isolate the issue, and tried walking through the Ruby, both to no avail. My issue is that the command insists on using block comments for comment toggling (⌘ + /) and doesn't respect when I add a preferences file to change TM_COMMENT_MODE. I even tried using this simple preference:

{ shellVariables = (
{ name = 'TM_COMMENT_START';
value = '// ';
},
);
}

but no luck. I'm hoping that someone who speaks Ruby much better than myself (ie. at all) can find a simple fix for this. You can reproduce in any (recent) install of TextMate by creating a new actionscript 2 file and trying to ⌘ + / a section of code (or even a line). Contrast to a JS file which will use a line comment. Copy the "Comments" snippet from JavaScript to Actionscript bundles, and the problem will persist.

View 1 Replies

Write Signature/comment In Flash Site?

Jul 3, 2009

I would like to create a simple form inside my flash site where the visitors can write their name and a comment about the site which would then stay visible in the page (possibly inside a scrollpane).

View 1 Replies

Actionscript :: Custom Pages Using Asdoc?

Sep 30, 2009

Does anyone know if you can write your own pages that asdoc will recognize and use? For instance, I'd like to write some "Getting Started","Support" and "FAQ" kind of pages that will help understanding what my actionscript classes are about.

View 2 Replies

Documentation - Flash CS4 Have An Alternative To ASDoc?

Mar 16, 2010

Does anybody know of a tool that will allow me to create ASDoc style documentation with a Flash CS4/AS3 application? From what I hear ASDoc only works with Flex.

View 2 Replies

ActionScript 3.0 :: ASDoc And Getter/setters?

Nov 15, 2009

I'm finally reading up on commenting code with ASDoc (http:url]....) but the way ASDoc is set up doesn't seem to agree with the way I write my getter/setters.Here is how I write them:

Code:
//I want to add the ASDoc tags here, before this chunk of code
private var _enabled:Boolean = true;
public function get enabled():Boolean[code]...

if I ad the tags where I want them, if I understand correctly, they will comment the private variable instead. Bummer.So, either I change the coding style I have been using for the past three years, or insert the tags inside of my code, making it ugly and less structured. I'm leaning towards option A.how do YOU write your getter/setters so they are ASDoc friendly?

View 1 Replies

ActionScript 3.0 :: Saving ASDoc Info AS XML?

Dec 10, 2009

I could sift through all HTML pages and write code that extracts the information, or even start from scratch and do the same for AS files, but I'd rather not.

I would like to use the ASDoc information from one set of classes in another SWF. Is there any way to export all the ASDoc information to XML format, or something that is easy to parse?

Such as:

Code:
<class name="DebugText" description="A lightweight, visual debugging tool." author="IqAndreas">
<property name="text" namespace="public" returns="String" throws="Error bla bla"

[Code]....

View 3 Replies

Professional :: Position Elements Relative To Other Elements Or In Absolute Values?

Jan 26, 2010

Is it generally to position elements relative to other elements or in absolute values?

View 2 Replies

Flex :: Get Flex Popups To Open Under Some Of My Visual Elements?

Apr 3, 2012

Ive been trying to get flex popups to open under some of my visual elements.

View 1 Replies

ActionScript 3.0 :: Comment Box - Send Directly From Website To Email?

Jul 8, 2009

I use [URL] tutorials but the only comment box they offer (as far as I can see) is a code where the send button triggers the users outlook to open to send the email.

[Code]...

I am not sure which part of the code does that, but is there a way to just have the comment send directly from my website, rather than opening up their outlook? I find that most of my visitors don't use any mail software, only online email, so I find it's inconvenient to ask them to send comments this way. is there code to have a comment send directly from my website to my email?

View 2 Replies

ActionScript 3.0 :: Add A Parenthesis <"> In Trace Without Turning It Into A Comment?

Nov 29, 2010

i'm trying to use the trace() function to get an output that uses a parentheses <"> within it.My problem is that when i type my trace, for example:
 
trace("Andy will say" + " " " + Hello.text + " " "); is suppose to come out saying: Andy will say "Hello".
 
But the AS3 reads it such that the parentheses after "Andy will say" and after Hello.txt are normally utilized parentheses.

View 3 Replies

ActionScript 3.0 :: Load Different Values For Each Name, Email, Comment Inserted From XML?

Jun 16, 2009

I have a Guestbook project to develop (personal project) but I can't multiply the values.. I'm testing with a XML (no PHP and DB yet)

For example: I need to load different values for each name, email, comment inserted from XML.

Name: (name_txt) -> Textfield;
Email: (email_txt) - > Textfield;
Comment: (comment_txt) -> Textfield;

Well.. I can load ONE node from XML, but i can't multiply it for 5 blocks of name,email and comment.And if i'd like to paginate if it runs more than 5 blocks, the next 5 goes to another page?

Here is my code:

Code:
// GuestBook
var xmlLoader:URLLoader = new URLLoader();
var meuXML:XML; // vai guardar todo o conte�do do XML;
var imageLoader:Loader;

[code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved