Now that is pretty clever ! Exactly what I need. Thanks !

BLITZ | Patrick Matte - 310-551-0200 x214

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Iv
Sent: Thursday, January 18, 2007 8:28 PM
To: Flashcoders mailing list
Subject: Re[2]: [Flashcoders] Override _xscale and _yscale setter in AS2

Hello Patrick,

PMB> Anybody has any other idea ?

owerriding or watch of properties is impossible.

Don't use extending. Use composition:

class Test1 {

 private var __mc:MovieClip;
 public function Test1(mc:MovieClip){
  this.__mc= mc
 }

 public function get _xscale ():Number {
  return this.__mc._xscale;
 }

 ..... etc

}



-- 
Ivan Dembicki
______________________________________________________________________
[EMAIL PROTECTED] | http://www.artlebedev.ru | http://www.sharedfonts.com

_______________________________________________
Flashcoders@chattyfig.figleaf.com
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
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

Reply via email to