:)

it's probably not a joke.

if the height and width values are non-identical, then rotating would have
an effect (the fill is not radially symetrical).

anyway, I don't know the answer to the question, but maybe the rotation is
being performed before the scaling (this would probably not have any visible
effect)


glenn


----- Original Message ----- 
From: "Josh McDonald" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, February 24, 2006 9:22 AM
Subject: Re: [Flashcoders] rotate gradient fill


Dude is this a joke? What do you get when you rotate a circle? Or are
you just trying to say something else? If it's not, what are you
expecting to happen when you change r for a radial gradient?

-Josh

-- 

"His comrades fought beside him, Van Owen and the rest...
       But of all the thompson gunners- Roland was the best."

Josh McDonald
Analyst Programmer
Information Technology
Ph: 61 7 3006 6460
Email: [EMAIL PROTECTED]


>>> [EMAIL PROTECTED] 23/02/2006 11:58:42 pm >>>

Hello people!

Just noticed that beginGradientFill matrix r property doesn't have any
effect on radial fills.
That might be my mistake as well, though i tested it with MM sample
code and
still no luck.
this.createEmptyMovieClip("gradient_mc", this.getNextHighestDepth());
with (gradient_mc) {
    colors = [0xFF0000, 0x0000FF];
    fillType = "radial";
    alphas = [100, 100];
    ratios = [0, 0xFF];
    matrix = {matrixType:"box", x:100, y:125, w:200, h:150,
r:(90/180)*
Math.PI};
    beginGradientFill(fillType, colors, alphas, ratios, matrix);
    moveTo(100, 100);
    lineTo(100, 300);
    lineTo(300, 300);
    lineTo(300, 100);
    lineTo(100, 100);
    endFill();
}

In this code changing 90 degrees to anything else has no effect at
all.
Anyone noticed this one before, maybe somebody have ideas how to make
workaround?
I know about Matrix object in flash player 8 that might help me with
this
problem but I'd like to avoid it and stay flash player 7 compatible as
long
as possible.

Janis
_______________________________________________
[email protected]
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







***************************************************************************
Messages included in this e-mail and any of its attachments are those
of the author unless specifically stated to represent WorkCover Queensland.
The contents of this message are to be used for the intended purpose only
and are to be kept confidential at all times.
This message may contain privileged information directed only to the
intended addressee/s. Accidental receipt of this information should be
deleted promptly and the sender notified.
This e-mail has been scanned by Sophos for known viruses.
However, no warranty nor liability is implied in this respect.
****************************************************************************

_______________________________________________
[email protected]
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

_______________________________________________
[email protected]
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