Re: [Flashcoders] Scaling Filters

2007-04-11 Thread quinrou .

try to use the matrix to scale ur mc to see if that persists

On 4/11/07, Zeh Fernando [EMAIL PROTECTED] wrote:


 I don't think this works (But I wish it did). I have a
 HOLDERMC.CHILDMC.MCwithblurfilterapplied
 I'm scaling HOLDERMC 200% and the blur does not scale on any child MCs.

 All I've been able to do is apply a new filter to the MC with scaled
 properties (eg. apply a new filter with a 20x20 blue when it's scaled
 200%).
 I'm constantly scaling this MC, so don't want to have to re-create new
 filters every time it's scaled.

Wow, you're right, it doesn't. :| Which is kinda crazy, I remember
having problems with this very same thing a few months ago (filters
where resizing, when I DIDN'T want them to). Pretty crazy, but I tried
now and couldn't reproduce the effect I had came up with before.

Or I'm probably just going nuts.



Zeh
___
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


Re: [Flashcoders] Scaling Filters

2007-04-11 Thread Mick G

Matrix scaling also does the same thing - does not scale Blur/filter
properties.

I've tried this...

var snapshot:BitmapData = new BitmapData(121,88,true,0x);
//Matrix to scale the new image
var myMatrix = new Matrix();
myMatrix.translate(-23,-19);
myMatrix.scale(0.25, 0.25);
snapshot.draw(_root.holder, myMatrix);

This actually creates bitmap data with the filters 4 times as wide as they
should be in the scaled down version so I've had to adjust all the filters
to 0.25% of their value on all the blurred MCs before running the above
code.

This from livedocs...
This filter supports stage scaling. However, it does not support general
scaling, rotation, and skewing. If the object itself is scaled (_xscale and
_yscale are not 100%), the filter effect is not scaled. It is scaled only
when you zoom in on the Stage.

So when it says zoom in on the Stage - I believe that means the
right-click player zoom?



On 4/11/07, quinrou . [EMAIL PROTECTED] wrote:


try to use the matrix to scale ur mc to see if that persists

On 4/11/07, Zeh Fernando [EMAIL PROTECTED] wrote:

  I don't think this works (But I wish it did). I have a
  HOLDERMC.CHILDMC.MCwithblurfilterapplied
  I'm scaling HOLDERMC 200% and the blur does not scale on any child
MCs.

  All I've been able to do is apply a new filter to the MC with scaled
  properties (eg. apply a new filter with a 20x20 blue when it's scaled
  200%).
  I'm constantly scaling this MC, so don't want to have to re-create new
  filters every time it's scaled.

 Wow, you're right, it doesn't. :| Which is kinda crazy, I remember
 having problems with this very same thing a few months ago (filters
 where resizing, when I DIDN'T want them to). Pretty crazy, but I tried
 now and couldn't reproduce the effect I had came up with before.

 Or I'm probably just going nuts.



 Zeh
 ___
 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


___
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] Scaling Filters

2007-04-10 Thread Mick G

I've noticed if I apply for example a 10x 10y blue filter to a MC, then
scale it 200%, it retains the 10 pixel blur - which actually makes the MC
look less blured because the blur has not been scaled.

Is there any way to lock in a filter blur so that when it's scaled, it looks
proportional?
___
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


Re: [Flashcoders] Scaling Filters

2007-04-10 Thread Zeh Fernando

I've noticed if I apply for example a 10x 10y blue filter to a MC, then
scale it 200%, it retains the 10 pixel blur - which actually makes the MC
look less blured because the blur has not been scaled.
Is there any way to lock in a filter blur so that when it's scaled, it 
looks

proportional?


Create a holder movieclip as its parent; the inner movieclip is the one 
who holds the filter, but the holder movieclip is the one who gets scaled.


That, or scale the filter properties back. On your case, it might be the 
better option as scaling a movieclip with filters applied actually scale 
the resulting bitmap cache, so you'll have a loss of quality sometimes 
due to interpolation.



Zeh
___
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


Re: [Flashcoders] Scaling Filters

2007-04-10 Thread Mick G

Create a holder movieclip as its parent; the inner movieclip is the one
who holds the filter, but the holder movieclip is the one who gets scaled.



I don't think this works (But I wish it did). I have a
HOLDERMC.CHILDMC.MCwithblurfilterapplied
I'm scaling HOLDERMC 200% and the blur does not scale on any child MCs.

All I've been able to do is apply a new filter to the MC with scaled
properties (eg. apply a new filter with a 20x20 blue when it's scaled 200%).
I'm constantly scaling this MC, so don't want to have to re-create new
filters every time it's scaled.

That, or scale the filter properties back. On your case, it might be the

better option as scaling a movieclip with filters applied actually scale
the resulting bitmap cache, so you'll have a loss of quality sometimes
due to interpolation.


Zeh


___
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


Re: [Flashcoders] Scaling Filters

2007-04-10 Thread Zeh Fernando

I don't think this works (But I wish it did). I have a
HOLDERMC.CHILDMC.MCwithblurfilterapplied
I'm scaling HOLDERMC 200% and the blur does not scale on any child MCs.



All I've been able to do is apply a new filter to the MC with scaled
properties (eg. apply a new filter with a 20x20 blue when it's scaled 
200%).

I'm constantly scaling this MC, so don't want to have to re-create new
filters every time it's scaled.


Wow, you're right, it doesn't. :| Which is kinda crazy, I remember 
having problems with this very same thing a few months ago (filters 
where resizing, when I DIDN'T want them to). Pretty crazy, but I tried 
now and couldn't reproduce the effect I had came up with before.


Or I'm probably just going nuts.



Zeh
___
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