incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Schmalle <apa...@teotigraphix.com>
Subject Re: [ASJS] Adjusting FalconJS output (no general discussion in this thread, please)
Date Fri, 07 Dec 2012 13:15:13 GMT
It's not exact to where you want it but, I figure give more comments  
on this since there was a couple type and hint things I didn't quite  
understand.

This is what I have outputing now;


//---------------------------------------------------------
JS Code

/**
  * CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-12-07 08:11:27
  *
  * @constructor
  * @extends flash.display.Sprite
  */
goog.provide("com.example.components.MyTextButton");

goog.require("flash.display.Sprite");

com.example.components.MyTextButton = function()
{
		this.publicProperty /* : Number */ = 100;
		goog.base(this);
}

goog.inherits(com.example.components.MyTextButton, flash.display.Sprite);

/**
  * Member: com.example.components.MyTextButton._privateVar
  * @private
  * @type {string}
  */
com.example.components.MyTextButton.prototype._privateVar /* : String  
*/ = "do ";

/**
  * Member: com.example.components.MyTextButton.publicProperty
  * @type {number}
  */
com.example.components.MyTextButton.prototype.publicProperty /* :  
Number */ = 100;


/**
  * Method: com.example.components.MyTextButton.myFunction()
  * @this {com.example.components.MyTextButton}
  * @param {string} value
  * @return {string}
  */
com.example.components.MyTextButton.prototype.myFunction =  
function(value /* : String */) /* : String */
{
		return (("Don't " + this._privateVar) + value);
}

/JSCode
//------------------------------------------------------------


Mike


-- 
Michael Schmalle - Teoti Graphix, LLC
http://www.teotigraphix.com
http://blog.teotigraphix.com


Mime
View raw message