Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Promotions
Estimated shipping
Tax
Calculated at checkout
Total
Review and Checkout
Adobe Developer Connection / Flash Developer Center / Graphic Effects Learning Guide /

Graphic Effects Learning Guide for Flash: Tiles and patterns

by Adobe

Adobe Flash Professional

Content

  • Bitmap fills
  • Spray Brush and Deco tools
  • Custom graphics with the decorative tools
  • Animating Deco tool patterns
  • Where to go from here

Modified

8 August 2011

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
Flash Professionalgraphic effects
Was this helpful?
Yes   No

By clicking Submit, you accept the Adobe Terms of Use.

 
Thanks for your feedback.

Requirements

Prerequisite knowledge

This guide assumes you are familiar with the Flash Professional workspace and have a basic knowledge of working with FLA files.

User level

Beginning

Required products

  • Flash Professional (Download trial)

Sample files

  • graphic-effects-lg_pt10.zip

Like gradients, patterns can be used to add interest to otherwise flat graphic shapes. Adobe Flash Professional CS5 provides a handful of options for creating patterns, including the new enhancements to the Deco tool.

A tile is a bitmap, symbol, or shape applied as a repeating graphic element to form a pattern effect. You can think of repeating graphics like tiles on a floor forming a pattern in a room. In Flash Professional, you can apply bitmaps as tiled fills using the Color panel. You can also apply movie clip symbols as tiled patterns using the Spray Brush and Deco tools.

Bitmap fills

Bitmaps can be used to fill shapes with repeating patterns. You can use the Color panel or the Graphics object in ActionScript to draw bitmaps inside the fills and strokes in your drawing objects. The bitmaps are applied to the shape as a repeating pattern which can be manipulated with the Gradient Transform tool to create a geometric grid pattern.

To create a shape containing a bitmap fill:

  1. Create a bitmap graphic in Adobe Fireworks or a similar graphics editing program.
  2. Size the graphic to approximately 120 pixels (or less) in width and height.
  3. Save the file in the PNG, JPEG, or GIF format.
  4. Create a new FLA file in Flash named bitmapfill.fla.
  5. Draw a shape on the Stage using the Rectangle tool (R) or another shape tool.
  6. Select the shape and open the Color panel (Window > Color).
  7. Make sure the fill color swatch is selected in the Color panel and change the fill option from Solid color to Bitmap fill (see Figure 1).
Figure 1. Selecting the Bitmap fill option in the Color panel.
Figure 1. Selecting the Bitmap fill option in the Color panel.
  1. Click the Import button in the Bitmap fill options and import your bitmap. Notice that the bitmap is imported to the Library panel and displayed in a grid inside the fill area of your shape.
  2. Select the Gradient Transform tool (F) and then click on one of the tiles in the pattern. Notice that transformation handles appear over the single tile graphic (see Figure 2). Rotate, scale, and skew the tile until you've achieved the desired effect.
  3. Save the file.
Figure 2. Transforming a tile within the bitmap fill grid.
Figure 2. Transforming a tile within the bitmap fill grid.

You can apply a bitmap fill to the stroke of the shape as well. If you need to change the effect, use the Gradient Transform tool to remove the effect by changing the fill option setting in the Color panel.

For more information on working with the Color panel, see the Color panel section of the Flash Professional online help. For more information on drawing bitmap fills using ActionScript, see the Graphics class in the ActionScript 3 Reference for the Flash Platform.

Spray Brush and Deco tools

The Spray Brush and Deco tools can be used to create a wide range of pattern effects utilizing the procedural modeling engine that was first available in Flash CS4 Professional. The procedural modeling engine is a Flash JavaScript (JSFL) library that processes geometric algorithms to generate patterns. JSFL is used by Adobe and third-party developers to create custom tools in Flash.

Spray brush

The Spray Brush tool (B) can be used to spray a random pattern of shapes as you draw with the brush on the Stage. The Spray Brush tool is grouped with the Brush tool in the Tools panel (see Figure 3). Configure the drawing options in the Properties panel while the Spray Brush tool is selected. Click and paint with the brush on the Stage to see the effect.

Figure 3. Spray Brush tool in the Tools panel and the related options in the Properties panel.
Figure 3. Spray Brush tool in the Tools panel and the related options in the Properties panel.

For more information on configuring the Spray Brush tool, see Apply patterns with the Spray Brush tool in the Flash Professional online help or the Spray Brush tool section in the Flash glossary.

Deco tool

The Deco tool (U) can be used to create geometric graphic effects and special effects such as lighting, smoke, and fire. You can access the Deco tool in the Tools panel and use the Drawing Effect menu in the Properties panel to choose from a range of different effects (see Figure 4).

Figure 4. Setting the Deco Tool Drawing Effect options in the Properties panel.
Figure 4. Setting the Deco Tool Drawing Effect options in the Properties panel.

Flash Professional CS5 expands the capabilities of the Deco tool by adding a new range of effects. You can easily generate unique graphics such as buildings, trees, flowers, fire, smoke, and lighting. You can also create symmetrical geometric patterns as a shortcut for creating complex repeating patterns of shapes.

The following links (from the Flash Professional online help) provide more information about each effect:

  • Vine Fill effect
  • Grid Fill effect
  • Symmetry Brush effect
  • 3D Brush effect
  • Building Brush effect
  • Decorated Brush effect
  • Fire Animation effect
  • Flame Brush effect
  • Flower Brush effect
  • Lightning Brush effect
  • Particle System effect
  • Smoke Animation effect
  • Tree Brush effect

To use the Deco tool, select the drawing effect and options in the Properties panel and then click (or click and drag) the tool on the Stage to create the pattern effect.

Custom graphics with the decorative tools

Either use the default settings for the Spray Brush and Deco tools or create your own movie clip symbols to use as tiles in the pattern. By using your own custom symbols, you can create infinite variations in the range of effects.

The following tools and effects support custom symbols:

  • Spray Brush tool
  • Deco tool (Vine Fill, Grid Fill, Symmetry Brush, 3D Brush, Particle System)

To select a custom symbol, click the Edit button next to the <no symbol> field in the Properties panel while the Deco tool is selected (see Figure 5).

Figure 5. Particle System effect's custom symbol options.
Figure 5. Particle System effect's custom symbol options.

After you add your custom symbols, you can edit the effect using the options in the Properties panel and then apply the effect using the Deco tool on the Stage.

For more information on using custom symbols, see the Using custom symbols and advanced options section of Jonathan Duran's article on using the Deco tool and Spray Brush for creating complex, geometric patterns in Flash.

Animating Deco tool patterns

You can animate Deco tool patterns by converting them to a symbol and then animating them as you would any other graphic. Add blur effects and filters as well as tweens to enhance the effects. In the case of the Fire Animation, Smoke Animation, and Particle System effects, the Deco tool dynamically generates the animation.

Read Creating graphic effects using the new Deco script in Flash Professional CS5 by Jonathan Duran to see samples of the effects features in action.

Where to go from here

This section of the Graphic Effects Learning Guide overviews the decorative drawing tools in Flash Professional and options for creating pattern effects. Besides reading Deco tool and Spray Brush for creating complex, geometric patterns in Flash to learn more about the basics of using the Spray Brush and Deco tools, check out these demos on Adobe TV demonstrating the decorative drawing tools:

  • Using the decorative drawing tools (5:36)
  • Flash Downunder: The Deco Tool (8:10)
  • Flash Downunder: The Bone tool and the Deco tool (22:00)

Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License+Adobe Commercial Rights

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

More Like This

  • Graphic Effects Learning Guide for Flash: Blend modes
  • Graphic Effects Learning Guide for Flash: Text
  • Graphic Effects Learning Guide for Flash: Bitmaps
  • Graphic Effects Learning Guide for Flash: Overview
  • Graphic Effects Learning Guide for Flash: Vectors
  • Graphic Effects Learning Guide for Flash: Masks
  • Graphic Effects Learning Guide for Flash: Color
  • Graphic Effects Learning Guide for Flash: Transformations
  • Graphic Effects Learning Guide for Flash: Filters
  • Graphic Effects Learning Guide for Flash: Inverse kinematics

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement