Re: [Flashcoders] Override _xscale and _yscale setter in AS2

2007-01-19 Thread Muzak
nt: Friday, January 19, 2007 1:37 AM Subject: RE: [Flashcoders] Override _xscale and _yscale setter in AS2 Anybody has any other idea ? BLITZ | Patrick Matte - 310-551-0200 x214 ___ Flashcoders@chattyfig.figleaf.com To change your subscription

Re: [Flashcoders] Override _xscale and _yscale setter in AS2

2007-01-19 Thread Andrew J Kirkham
super._yscale = Number; //your code :) } Andy - Original Message - From: "Patrick Matte | BLITZ" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Friday, January 19, 2007 12:37 AM Subject: RE: [Flashcoders] Override _xscale and _yscale s

Re: [Flashcoders] Override _xscale and _yscale setter in AS2

2007-01-18 Thread Shang
t: Thursday, January 18, 2007 4:19 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] Override _xscale and _yscale setter in AS2 No I've tried that but it doesn't work unfortunately, I've also overridden the enabled setter before but the _xscale and _yscale setters seem to be d

RE: [Flashcoders] Override _xscale and _yscale setter in AS2

2007-01-18 Thread Patrick Matte | BLITZ
aw a bitmapData inside of it. BLITZ | Patrick Matte - 310-551-0200 x214 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eka Sent: Thursday, January 18, 2007 3:50 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Override _xscale and _yscale sette

RE: [Flashcoders] Override _xscale and _yscale setter in AS2

2007-01-18 Thread Steven Sacks | BLITZ
mailing list > Subject: RE: [Flashcoders] Override _xscale and _yscale setter in AS2 > > You can do it with enabled, but you can't with _xscale or _yscale. > > You have to use a watcher to catch it and return oldVal. > > > BLITZ | Steven Sacks - 310-551-0200 x209 &g

RE: [Flashcoders] Override _xscale and _yscale setter in AS2

2007-01-18 Thread Patrick Matte | BLITZ
> [mailto:[EMAIL PROTECTED] On Behalf Of eka > Sent: Thursday, January 18, 2007 3:50 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] Override _xscale and _yscale setter in AS2 > > Hello :) > > Yes you can :) Try this code (not teste

RE: [Flashcoders] Override _xscale and _yscale setter in AS2

2007-01-18 Thread Patrick Matte | BLITZ
BLITZ | Patrick Matte - 310-551-0200 x214 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eka Sent: Thursday, January 18, 2007 3:50 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Override _xscale and _yscale setter in AS2 Hello :) Yes you can :

RE: [Flashcoders] Override _xscale and _yscale setter in AS2

2007-01-18 Thread Steven Sacks | BLITZ
Thursday, January 18, 2007 3:50 PM > To: Flashcoders mailing list > Subject: Re: [Flashcoders] Override _xscale and _yscale setter in AS2 > > Hello :) > > Yes you can :) Try this code (not tested) > > > class Test1 extends MovieClip > { > > /** &

RE: [Flashcoders] Override _xscale and _yscale setter in AS2

2007-01-18 Thread Patrick Matte | BLITZ
See I have a component which sets some movieClips _xscale and _yscale. It works fine with MovieClip that contain vector graphics because they scale nicely. But with bitmap Graphics, scaling looks bad. So I wanted to extend the movieClip class and override the _xscale and _yscale setters so that

Re: [Flashcoders] Override _xscale and _yscale setter in AS2

2007-01-18 Thread eka
if you overrides the properties the problem is to keep the resize effect on the movieclip ? EKA+ :) 2007/1/19, Thomas Fowler <[EMAIL PROTECTED]>: Why not just make a getter and setter called XScale and a getter and setter called YScale in your subclass each returning and setting their respecti

Re: [Flashcoders] Override _xscale and _yscale setter in AS2

2007-01-18 Thread eka
Hello :) Yes you can :) Try this code (not tested) class Test1 extends MovieClip { /** * Constructor */ function Test1() { } public function get _xscale ():Number { return _xscale_ ; } public function set _yscale( value:Number ):Void {

Re: [Flashcoders] Override _xscale and _yscale setter in AS2

2007-01-18 Thread Thomas Fowler
Why not just make a getter and setter called XScale and a getter and setter called YScale in your subclass each returning and setting their respective values? - Original Message - From: "Patrick Matte | BLITZ" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Thursday, January 1