Laurent CUCHET escreveu:
There is a lot of mc but I take to explain the case :
They are name A_mc, B_mc and C_mc
If I press one clip its scale get 300.
How can I do in the same time get 50 to the other not pressed ?
A_mc.onPress = B_mc.onPress = C_mc.onPress = function() {
this._xscale = this._yscale = 300;
};
Thank you very much
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
function getScale(mc:MovieClip) {
A_mc._xscale = B_mc._xscale = C_mc._xscale = 50;
A_mc._yscale = B_mc._yscale = C_mc._yscale = 50;
// here the secret
mc._yscale = 300;
mc._xscale = 300;
}
A_mc.onPress = B_mc.onPress = C_mc.onPress = function() {
getScale(this);
};
test and show if was this what you want
[]´s
--
Gustavo Teider ( gugateider )
www.gugateider.com
Curitiba - PR
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com