No thats no a problem, you can do like this:
public function set _x(value:Number):Void {
mc._x = value;
}
2005/11/24, Boon Chew [EMAIL PROTECTED]:
Thanks Janis. The problem with doing it below is that you cannot change _x,
_y directly on the mc like you can with a regular movieclip.
On 11/24/05, Boon Chew [EMAIL PROTECTED] wrote:
Thanks Janis. The problem with doing it below is that you cannot change
_x, _y directly on the mc like you can with a regular movieclip.
var b = new myButton();
b._x = 200; -- won't work
Boon,
You're quite correct - however the
I'm doing this all the time I've made tonns of different inputs fro
diferent projects and finally I am planing to code some fullscale AS2
only UI collection.
Thats done like this:
class myButton {
private var mc:MovieClip;
function myButton(host:MovieClip, level:Number){
mc=
Thanks Janis. The problem with doing it below is that you cannot change _x,
_y directly on the mc like you can with a regular movieclip.
var b = new myButton();
b._x = 200; -- won't work
Janis Radins [EMAIL PROTECTED] wrote: I'm doing this all the time I've made
tonns of different
4 matches
Mail list logo