[osflash] 'flash.filters.*' inside class - not compiling
Giles Taylor
Giles.Taylor at Transart.co.uk
Wed Jul 12 11:09:25 EDT 2006
Looks fine apart from guessing that your alpha param should be .45
instead of 45 (max is 1), but I'd be surprised if that caused the
problem you are describing.
Do the other filters work, glow for example? And what about other
classes in the flash package, like flash.geom.Point?
It could be a problem with your install.
Giles
-----Original Message-----
From: osflash-bounces at osflash.org [mailto:osflash-bounces at osflash.org]
On Behalf Of Michael Stuhr
Sent: 12 July 2006 15:40
To: Open Source Flash Mailing List
Subject: Re: [osflash] 'flash.filters.*' inside class - not compiling
Giles Taylor schrieb:
> It's working ok for me, have you any code to share?
>
i have:
import flash.filters.DropShadowFilter;
class Tooltip
{
[...]
private static function drawTip ()
{
var tipclip:MovieClip = _root.___tooltip;
[...]
var filter = new DropShadowFilter (5, 90, 0x0, 45, 5, 5, 100, 3,
false, false, false);
var filterArray:Array = new Array();
filterArray.push(filter);
tipclip.filters = filterArray;
}
}
micha
_______________________________________________
osflash mailing list
osflash at osflash.org
http://osflash.org/mailman/listinfo/osflash_osflash.org
More information about the osflash
mailing list