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 15:01:30 GMT
Ok next iteration;

- I'm working on the constructor block right now so that private var  
isn't showing up yet.
- As far as I have seen that was the only lagging issue from the last post.

Are the tags and stuff correct?



//---------------------------------------------------------
JS CODE


/**
  * CROSS-COMPILED BY MXMLJSC (329449.1) ON 2012-12-07 09:57:20
  */
goog.provide("com.example.components.MyTextButton");

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

/**
  * @constructor
  * @extends 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.publicProperty
  * @type {number}
  */
com.example.components.MyTextButton.prototype.publicProperty = 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)
{
		return (("Don't " + this._privateVar) + value);
}


//--------------------------------------------------------------


Mike


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


Mime
View raw message