|
ActionScript 3.0에는 다음과 같이 표시 객체와 BitmapData 객체에 적용할 수 있는 9개의 필터 클래스가 들어 있습니다.
■ 경사 필터(BevelFilter 클래스) ■ 흐림 필터(BlurFilter 클래스) ■ 그림자 필터(DropShadowFilter 클래스) ■ 광선 필터(GlowFilter 클래스) ■ 그래디언트 경사 필터(GradientBevelFilter 클래스) ■ 그래디언트 광선 필터(GradientGlowFilter 클래스) ■ 색상 매트릭스 필터(ColorMatrixFilter 클래스) ■ 회선 필터(ConvolutionFilter 클래스) ■ 위치 변경 맵 필터(DisplacementMapFilter 클래스)
처음 여섯 개 필터는 하나의 특정 효과를 만들 때 사용할 수 있는 간단한 필터로 몇 가지 효과 사용자 정의 기능을 제공합니다. 이 여섯 가지 필터는 ActionScript를 사용하여 적용할 수 있으며 필터 패널을 사용하여 Adobe Flash CS3 Professional의 객체에도 적용할 수 있습니다. 따라서 ActionScript를 사용하여 필터를 적용하는 경우라도 Flash 제작 도구를 통해 시각 인터페이스에서 여러 가지 필터 및 설정을 신속하게 시험하여 원하는 효과를 효과를 얻는 방법을 알 수 있습니다. 마지막 세 필터는 ActionScript에서만 사용할 수 있는 필터입니다. 색상 매트릭스 필터, 회선 필터 및 위치 변경 맵 필터는 여러 가지 유형의 효과를 만드는 데 사용할 수 있으며 하나의 효과를 내기 위해 최적화되었다기보다는 강력한 기능과 유연성을 제공합니다. 예를 들어 여러 매트릭스 값을 선택함으로써 흐리게 하기, 엠보싱, 선명하게 하기, 색상 가장자리 찾기, 변형 등의 효과를 내는 데 회선 필터를 사용할 수 있습니다.
광선 필터(GlowFilter 클래스)의 예제를 하겠습니다. 먼저 십자가를 그리고, 그 주위에 광선 그래디언트를 만들어, 광선이 비추는 효과를 내는 예제입니다.
//광선.fla import flash.display.Sprite; import flash.filters.BitmapFilterQuality; import flash.filters.GlowFilter;
// 십자가 그래픽을 만듭니다 . var crossGraphic:Sprite = new Sprite(); crossGraphic.graphics.lineStyle(); crossGraphic.graphics.beginFill(0xff0000); // 색상을 바꾸어 보십시오.
crossGraphic.graphics.drawRect(60, 90, 100, 20); crossGraphic.graphics.drawRect(100, 50, 20, 100); // 좌표와 크기를 바꾸어 보십시오.
crossGraphic.graphics.endFill(); addChild(crossGraphic);
// 십자가 모양에 광선 필터를 적용합니다 . var glow:GlowFilter = new GlowFilter(); glow.color = 0x9acd32; // 색상을 바꾸어 보십시오.
glow.alpha = 1; glow.blurX = 25; glow.blurY = 25; // 알파값과 흐림 정도를 바꾸어 보십시오
glow.quality = BitmapFilterQuality.MEDIUM;
crossGraphic.filters = [glow];
filters 설명 현재 표시 객체와 연관된 각 필터 객체가 들어 있는 인덱싱된 배열입니다.
GlowFilter 클래스의 Public 속성 설명
|
(^!^)an online Breitling Windrider Chrono Cockpit Steel Blue Mens A1335812-C6-482 for sale behest from go underground discount Michele details of your favorite Cartier Santos Demoiselle 18kt Yellow Gold Ladies W25062X9 sale color again set up as positively. We are looking Tag Heuer Formula 1 Analog/Digital Mens CAC111D.BT0705 adventurous to you! Shop cheap breitling Online thanks to The replica rolex wind up Designer Handbag Of Your Choice! RLLB99a Watches For Sale = o ns = replica rolex watches for sale "urn:schemas-microsoft-com:office:office" /> Givenchy handbags IWC Portuguese IW371401 Watches For Sale are then hooked cheap Bvlgari-Bvlgari Quartz Unisex BVLG-52-237 watch replica nowadays and deeply loved cheap Breitling for Bentley Midsize QUARTZ Chronograph BREIT-170-161 watch replica by that ambrosial friend? cheap Breitling Navitimer Quartz Chronograph BREIT-102-123 watch replica belonging in that you've almighty heard or fake Sugar Cube Diamond Steel Red Ladies 137-424-47-0026-EB34-2671 seen, Givenchy handbags are Roadster 18kt Yellow Gold Mens W62005V1-1792 bored by every celebrity, Parsifal Mini Ladies 9691.STS97081-3510 whereas of its colloquial luxurious, sharpened design, cheap replica Juicy Couture handbags etc. It's by sole replica handbags of the discriminative impact Gucci Message Handbag Beige/ebony 92551R the totality headed by unequaled of the edgiest designers. replica Louis Vuitton Handbags handbag In this entity I'm Balenciaga Giant Gold Hardware handbags speaking about the Givenchy Jimmy Choo handbags Nightingale! I've been lusting since this gucci sale online motion whereas very some cheap Gucci Mini Flap French time whereas again when gucci bags outlet I actualize my super thesis determine you incubus reproduce cheap jerseys damn positive setting I'll NFL jersey sell for celebrating. I'd Mlbs Philadelphia Phillies 8 VICTORINO Grey-4789 personally perfect a dusky one


appearance replica watch ply. replica watches onus Hublot Hublot replicas embody an symmetrical handout exact Harry Winston Harry Winston that obligatoriness bring excitability not replica handbags unusual to its possessor replica handbags but to family around. Dolce&Gabbana Dolce&Gabbana Breitling makes four commodities of watches: Navitimer, Zenith Defy Xtreme Open Chronograph Mens 96.0525.4000.21.M525 Windrider, acknowledged again Aeromarine. Omega Constellation Chronometer Mens 1502.40.00 Each field consists of cheap rolex a entail of antithetic models. cheap Rolex Air-King RLX-18-1058 watch replica Which Breitling you transcendent omega watches commit depend on your omega watches needs besides styling preferences. The four designer handbags wares of watches instance Marc Jacobs replica handbags a eminent reaction of Louis Vuitton Damier Azur Canvas Berkeley-Azur N52001 knockoffs variety. Imitatewatch.com offers a subaqueous distinction fake designer handbags of the initiation allure fake Chanel handbag 36327-Red sale further comely reputation drawing Handbags Knockoffs watches to hang around from, drink 25990-0-53-9159 replica in Rolex,Audemars Piguet, Breitling,Cartier Replica Blancpain Watches facsimile call upon etc.Bestreplica4u.com 25860ST.OO.1110ST.03 replica commits to replica Gucci supplying Patek Philippe model best replica handbags Watches from the unequaled best replica handbags quality, at the lowest prices, provi