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
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
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
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
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
> [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
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 :
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
> {
>
> /**
&
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
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
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
{
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
12 matches
Mail list logo