flash on 2011-8-5
♥0 |
Line 14 |
Modified 2011-08-05 06:43:44 |
MIT License
archived:2017-03-20 16:08:19
ActionScript3 source code
/**
* Copyright Nek ( http://wonderfl.net/user/Nek )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/zZNK
*/
package {
import flash.text.TextField;
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
var _tf:TextField = new TextField()
addChild(_tf)
var product:Object = {offering:{merchant:{name:"!@#"}}}
var merchantName:String = (((product||{}).offering||{}).merchant||{}).name
if (merchantName)
_tf.text = merchantName;
}
}
}