._yscale = Number;
//your code :)
}
Andy
- Original Message -
From: Patrick Matte | BLITZ [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, January 19, 2007 12:37 AM
Subject: RE: [Flashcoders] Override _xscale and _yscale setter in AS2
, 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 options or search
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
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
{
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
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
, 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
{
/**
* Constructor
*/
function Test1
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 :) Try this code
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 tested)
class Test1 extends MovieClip
{
/**
* Constructor
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 setter in AS2
Hello
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 different from the enabled setter.
What I want
11 matches
Mail list logo