[osflash] 'flash.filters.*' inside class - not compiling

Michael Stuhr michael.stuhr at gmail.com
Wed Jul 12 10:40:19 EDT 2006


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



More information about the osflash mailing list