1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
var scenery = new function(){ var base = this; base.init = function(){ var img = new MX.Image({ src:"http://i.asdf.us/im/48/_1398690981_jules.gif", x: 0, y: 50, z: 0, scale: 1.2, rotationY: 3*PI/4, backface: true, }) scene.add(img) } return base }