Re: [Flashcoders] Creating a button class entirely in 2.0 with no symbol association, possible?

2005-11-24 Thread Janis Radins
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.

Re: [Flashcoders] Creating a button class entirely in 2.0 with no symbol association, possible?

2005-11-24 Thread Ian Thomas
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

Re: [Flashcoders] Creating a button class entirely in 2.0 with no symbol association, possible?

2005-11-23 Thread Janis Radins
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=

Re: [Flashcoders] Creating a button class entirely in 2.0 with no symbol association, possible?

2005-11-23 Thread Boon Chew
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