samedi 18 avril 2015

JavaScript - Quintus

Is someone able to give me simplest way to change the image?



stage.insert(new Q.UI.Button({
asset:'picture.png',
x: i,
scale: 0.5,
y: j,
angle:0,
Text:String(55)
}, function() {
this.add("tween");
this.animate({ scale:0, angle:180},0.3,Q.Easing.Quadratic.In);
//change image
this.chain({ scale:0.5,angle:0 },0.3,Q.Easing.Quadratic.Out);

Aucun commentaire:

Enregistrer un commentaire