Workspace

Importing artwork

Bring in pictures, layered Photoshop files, vector artwork, sounds, video and other documents, then work with what came in: trace bitmaps into shapes, swap them, fill with them and keep them up to date with their files.

The Import commands

The File, Import menu: Import to Stage (Ctrl+R), Import to Library, Open External Library (Ctrl+Shift+O), Import Animatic, Import Video and Import Paper Drawings

Everything starts from File › Import. Pick one or more files in the file browser; Phoenix opens it in the folder you imported from last time.

Import to Stage...
Ctrl+R. Adds each file to the library and places it on the current frame of the current layer, at the top-left corner of the stage, selected. Sounds go into the library only. If the current layer is locked or hidden, images go into the library and the status bar says so.
Import to Library...
Adds each file to the library without placing anything.
Open External Library...
Ctrl+Shift+O. Opens another document's library in a panel of its own, to copy items from. See Libraries of other documents.
Import Animatic...
Brings in an animatic's cut (EDL or Final Cut XML) as shot labels, boards and audio. See Start from the animatic.
Import Video...
Brings in a video to animate over, as a still for each frame on a guide layer. See Video.
Import Paper Drawings...
Turns scans or photos of pencil drawings into clean vector lines, one drawing to a keyframe. See Paper drawings.

Each import is a single step you can undo, however many files it brings in. Importing a file whose name the library already uses adds a second item, numbered (photo 2.png); nothing in the library is replaced. When part of a file cannot be brought in, Phoenix lists what was left out when the import finishes.

Scripts import too: document.importFile() takes the same files. See Scripting.

What Phoenix imports

KindFormatsComes in as
ImagesPNG, JPEG, GIF, BMPA bitmap in the library
Layered imagesPhotoshop (PSD and PSB): RGB, CMYK or grayscale, 8, 16 or 32 bitsA layer for each Photoshop layer, with its pixels as a bitmap
Vector artworkSVG, Illustrator (AI), EPS and PostScript (PS), PDFDrawing objects, bitmaps and text, grouped
Documents and moviesFLA, XFL, SWFTheir library items, and their main timeline as a movie clip
SoundWAV, AIFF, MP3, FLAC, OggA sound in the library
VideoMP4, MOV, M4V, AVI, MKV, WebM, FLV, WMV, MPEGStills on a guide layer, with Import Video
Paper drawingsScans or photos: PNG, JPEG, BMP, TIFF, GIF, WebPVector lines, a drawing to a keyframe, with Import Paper Drawings

Apart from Import Paper Drawings, Phoenix imports without an options dialog: each kind of file comes in one way, described below. Rearrange the result afterward with the usual tools.

Images

A PNG, JPEG, GIF or BMP becomes a bitmap in the library named after its file, such as kitchen.png. A JPEG is stored as it is, with its Photo compression; other images are stored without loss. A transparent PNG or GIF keeps its transparency, and an animated GIF comes in as its first frame. Images wider than 16,383 pixels are too large to import.

On the stage, an image is a bitmap instance: you can move, scale, rotate and skew it, but its pixels stay as they are in the library. To change the pixels, see Keep bitmaps up to date; to turn them into shapes, see Trace Bitmap.

Image sequences

If you import a single image whose name ends in a number, such as walk_0001.png, and the folder holds others that differ only in that number, Phoenix asks whether to import the whole sequence:

Numbers need not be padded or consecutive: walk_1.png, walk_2.png and walk_10.png come in that order. The current layer must not be locked.

Paper drawings

If you draw on paper, File › Import › Import Paper Drawings... turns your scanned or photographed pencil drawings into clean vector lines, ready to color with the Paint Bucket. Shadows and the color of the paper are taken out, the pencil lines are found and traced, and each drawing goes on a keyframe of its own. The window works in three steps, top to bottom, with a preview of the cleaned-up drawing beside them.

The Import Paper Drawings window: 1. Your drawings, with paper-scan-1.jpg picked and the whole numbered sequence of 4 drawings brought in; 2. Clean up, with Even out the paper and Auto levels on, Line darkness 170, Remove specks under 6 px, Close gaps up to 0 px, Smooth lines 1, Curve fit Normal and a black line color; 3. Place, onto a new layer from frame 1, one frame per drawing, fitted to the stage, keeping page position. The preview shows the ball and the ground line as clean black lines on white.
  1. Your drawings. Click Browse... and pick a drawing. If its name ends in a number, such as ball_01.jpg, and the folder holds the rest of the numbered set, Bring in the whole numbered sequence brings them all, in number order; the window says how many it found. You can also pick several pictures at once.
  2. Clean up. Watch the preview as you change these; Preview drawing picks which drawing it shows and Show the scan shows it as it came in, to compare.
    • Even out the paper takes out shadows, uneven light from a lamp or a phone, and the paper's tint, so the whole page reads as white. Leave it on unless your scan is already pure white.
    • Auto levels makes the darkest lines black and the paper white, which helps with faint pencil.
    • Line darkness is how dark a mark must be to count as a line. Raise it to pick up fainter pencil; lower it to leave out smudges and light construction lines. Find Line Darkness sets it from the drawing for you. The line under the preview says how much of the page is line: a few percent is usual.
    • Remove specks under clears away dust and dots smaller than this many pixels, and fills tiny holes in lines.
    • Close gaps up to joins lines that almost meet, so the Paint Bucket can fill the shapes they make. Start at 0 and raise it a pixel or two if your lines have small breaks.
    • Smooth lines evens out the pencil's rough edges before tracing, from 0 (every wobble kept) to 3. Curve fit works as it does for Trace Bitmap. Line color is the color the lines are drawn in.
  3. Place. Layer puts the drawings on a new layer named Paper Drawings or on the layer selected in the timeline. Start at frame is where the first drawing goes, and Frames per drawing how long each one stays: 1 for drawings on ones, 2 for twos. Size fits each page to the stage, or keeps a pixel of the scan to a pixel of the stage. Line up keeps each page in the same place, which keeps drawings made on pegs lined up with each other; Center each drawing puts each drawing's lines in the middle of the stage instead, for loose sketches drawn anywhere on the page.

Import cleans up and traces every drawing and puts them on their keyframes, as one step you can undo. Phoenix remembers your cleanup settings for next time. Large scans are shrunk to 1,600 pixels on their longest side before tracing, which keeps the lines light to draw and edit.

The four ball drawings imported: the first shows on the stage as black vector lines, and the timeline has a new Paper Drawings layer with keyframes on frames 1 to 4; the status bar says Imported 4 drawings onto Paper Drawings, frames 1 to 4.

The lines come in as filled shapes, like brush strokes, so they keep the pencil's varying thickness. To try it, download the four sample drawings of a bouncing ball (1, 2, 3, 4) into one folder and pick the first.

Tips for good scans: scan in grayscale at 150 to 300 dpi, or photograph the page flat, from straight above, in even light. Darker, cleaner pencil lines need less cleanup. Lines that run off the page or into each other are fine.

Photoshop files

Import to Stage turns each layer of a PSD into a layer of its own, named as it was, above the current layer (and in its layer folder, if it has one). Each layer's pixels become a bitmap in the library, placed where they were on the canvas, so the picture looks as it did. Groups become layer folders, and hidden layers come in hidden. A layer's opacity and its layer mask are kept in its pixels.

A landscape Photoshop file imported to the stage, with its layers Notes (hidden), Shadow, Tree, Sun, a Hills folder holding Near hills and Far hills, and Sky in the timeline, and the matching bitmaps and a Shadow Blend movie clip in the library
A PSD imported to the stage: a layer per Photoshop layer, the group as a folder, the hidden layer hidden. The Shadow layer used Multiply, so its bitmap came in inside a movie clip that blends.

A layer with a blend mode (Multiply, Screen, Overlay, Darken, Lighten, Difference, Linear Dodge, Subtract or Hard Light) is placed inside a movie clip named after it, such as Shadow Blend, that blends the same way, since only movie clips can blend. Other blend modes come in as Normal, and Phoenix says which.

Import to Library adds just the bitmaps, one for each layer, without layers or blends.

Large documents (PSB), 16- and 32-bit documents and CMYK documents are read too; their colors are brought to 8-bit RGB. Some things do not come in:

SVG, Illustrator, EPS and PDF files

Vector files come in as artwork you can edit. Each filled or stroked path becomes a drawing object with its fill, stroke color and stroke width; gradients become gradient fills; images become bitmaps in the library, placed where they were; and text becomes static text you can edit. On the stage, everything is grouped as one piece of artwork, in the order it was drawn, at the top-left of the stage. Import to Library makes a graphic symbol named after the file instead, with the artwork inside.

An SVG badge imported to the stage: a rounded rectangle with an orange to pink gradient, a radial gradient sun, dark hills and the word Sunset, selected as one Group of 306 by 226 pixels in the Properties panel
An SVG imported to the stage arrives as one group. Its gradients, curves and text stay editable.

To work on the parts, double-click the group to edit inside it, or choose Modify › Ungroup (Ctrl+Shift+G). To reuse the artwork as a symbol, select the group and choose Modify › Convert to Symbol, or import it with Import to Library.

SVG
Paths, rectangles, circles, ellipses, lines, polylines and polygons, with their groups, transforms and opacity, styled by attributes, the style attribute or the style sheet's classes; linear and radial gradients; use and symbols; images, embedded or in files beside the SVG; and text, with its font, size, weight and color.
Illustrator (AI) and PDF
An Illustrator file is read through the PDF copy it carries, which Illustrator saves by default; for a PDF, only the first page is read. Paths with their colors and opacity, spot (Pantone) colors, clipping masks, grouped and placed artwork, gradients, repeating pattern fills (drawn tile by tile), and images, palette images among them. Text comes in as text you can edit, a line at a time where the file placed it, in the font the file names when you have it installed (another font stands in when you do not).
Illustrator files without a PDF copy
A file saved with Create PDF Compatible File turned off, and files from Illustrator 8 and older, are read in Illustrator's own format: paths and compound paths, colors (process and spot), gradients, clipping masks and point text. Hidden layers are left out.
EPS and PostScript
An EPS that Illustrator saved is read through the Illustrator artwork inside it. Any other EPS or PostScript file is run as a PostScript program, and what it paints comes in: paths, fills and strokes in gray, RGB, CMYK and spot colors, clipping, images and text. The page is the file's bounding box.

Illustrator layers are not kept as separate layers: the whole file is one group on the current layer. To spread the parts over layers, ungroup them and use Modify › Timeline › Distribute to Layers; see Distribute to layers.

Other documents and movies

Importing an FLA, an XFL folder's .xfl file or a SWF movie brings in the whole of it: every item of its library, and its main timeline as a movie clip named after the file. Import to Stage also places that movie clip on the current frame. Library items whose names your library already uses come in under new names (Head copy), so nothing of yours changes.

To take only some items from another document, open its library instead with File › Import › Open External Library...; see Libraries of other documents. To open a document or movie for editing, use File › Open...; Phoenix opens FLA files back to version MX 2004 and SWF movies, as File formats describes.

Sound

A WAV, AIFF, MP3, FLAC or Ogg file becomes a sound in the library, read as 16-bit audio at 44.1 kHz, in mono or stereo. To put it on the timeline, drag it from the library onto the stage or a layer, or drop the file itself on the stage. See Sound.

Video

File › Import › Import Video... decodes a video into one still per frame of the document, at its frame rate, on a locked guide layer named after the video, with the stills in a library folder. Guide layers are never published or exported, so the video is a reference to animate over. Before it starts, choose whether to Shrink to the stage width and whether to Import its sound, as a stream. Phoenix reads video with ffmpeg. See Reference video.

Drag and drop, copy and paste

You can drag image, sound, Photoshop, SVG, Illustrator, EPS, PostScript and PDF files from your desktop or file manager onto the Phoenix window:

Edit › Paste in Center (Ctrl+V) takes what other applications copy:

A picture
Becomes a bitmap in the library named Bitmap 1 (or the next free number), placed in the middle of the view.
Vector artwork
Artwork copied as SVG (from a browser or a vector editor) or as PDF (from Illustrator) comes in as it would from a file: drawing objects, gradients and text, grouped.
Files
Files copied in your file manager are imported to the stage, as if dropped there.
Text
Plain text becomes a static text field, in Arial at 20 points, that grows to fit it.

Edit › Paste in Place (Ctrl+Shift+V) pastes the same things at the top-left of the stage instead. Going the other way, copying in Phoenix puts a picture and an SVG of the selection on the clipboard, for pasting into other applications. See Cut, copy and paste.

Trace Bitmap

To turn a picture into shapes you can edit, select it on the stage and choose Modify › Bitmap › Trace Bitmap..., or right-click it and choose Trace Bitmap. Areas of like color become fills in their average color, and neighboring areas share their edges, so nothing shows through between them. Transparent parts of the picture stay empty.

Color threshold
How different two colors may be and still make one area, from 1 to 500: the red, green and blue differences added together. Higher makes fewer, larger areas.
Minimum area
From 1 to 1000 pixels. Areas smaller than this join the neighbor they share the most edge with. Raise it to clear away specks.
Curve fit
How closely the outlines follow the picture: Pixels, Very Tight, Tight, Normal, Smooth or Very Smooth. Pixels and Very Tight keep every step of the pixels. From Tight on, rounds become curves and straight sides stay straight, with fewer points the smoother you go.

There are no separate settings for corners, color modes or presets: Color threshold, Minimum area and Curve fit are the whole of it. Phoenix remembers the settings you trace with for next time.

Preview traces the bitmap on the stage with the settings as they are, so you can judge the result in place, zoomed in if you like. The dialog then says how many areas and points the trace made, and suggests what to change when there are far too many or too few. Turn on Auto Preview to trace again whenever a setting changes: it waits until you stop dragging a value, so scrubbing stays smooth.

A picture of a tree and a house traced on the stage, beside the Trace Bitmap dialog: Color threshold 30, Minimum area 8 px, Curve fit Normal, Auto Preview on, 17 areas, 173 points

Trace keeps the result as one step you can undo, in the bitmap's place and position, as merge artwork. The bitmap stays in the library. Cancel puts the bitmap back and leaves nothing in the undo history. With several bitmaps selected, all of them are previewed and traced with the same settings.

Choosing Trace Bitmap settings

To try it, download the sample picture (320 by 240 pixels) and import it with File › Import › Import to Stage. It is flat colors with soft edges and a little noise, like a scanned drawing or a compressed export. Here it is traced at three color thresholds:

The sample traced three times: at threshold 10 it is crazed with tiny shapes, at 30 each flat color is one clean shape, at 100 the two blues of the sky, the two greens of the tree and the two sides of the house have each run together
Color threshold 10, 30 and 100, Minimum area 8 px, Curve fit Normal

Curve fit decides how the outlines are drawn. Here is the tree, enlarged, before tracing and traced at threshold 30 with three curve fits:

The sample's tree enlarged four times: the original bitmap, soft and noisy; traced with Pixels, a crisp shape with stair-stepped edges; with Normal, smooth rounded outlines; with Very Smooth, a lumpier outline with few points
The bitmap, then Curve fit Pixels, Normal and Very Smooth

For this picture, the ideal trace is Color threshold 30, Minimum area 8 px and Curve fit Normal: 17 areas and 173 points, with the sun and the tree as smooth curves and the house as straight lines.

For a picture of your own, turn on Auto Preview and zoom in on a detailed part of the stage. Raise Color threshold until the shades of each flat color become one area, and stop before colors you want to keep apart run together; the area count falls steeply as specks merge, then levels off. Then raise Minimum area if specks are left. Last, choose a Curve fit with as few points as still follow the shapes.

Trace Bitmap suits flat-colored artwork: logos, cartoons and scanned inked drawings. A photograph or a gradient becomes many areas at any setting.

Bitmaps on the stage

Select a bitmap instance and the Properties panel's Object tab shows the library item it shows, with a Swap... button, and its position and size. Right-click a bitmap on the stage for Trace Bitmap, Swap Bitmap and Break Apart.

Swap Bitmap

The Swap Bitmap dialog: a preview of the chosen bitmap beside a list of the library's bitmaps, with OK and Cancel

To show a different picture in the same place, select one or more bitmaps on the stage and choose Modify › Bitmap › Swap Bitmap..., or click Swap... in the Properties panel. Pick a bitmap from the library's list, with a preview of each, and click OK.

Every selected bitmap takes the new picture, keeping its position, scale and rotation. To change a picture everywhere it is used, update the library bitmap instead; see Keep bitmaps up to date.

Break apart and bitmap fills

Modify › Break Apart (Ctrl+B) turns a selected bitmap into a rectangle of merge artwork filled with the picture, in the same place. The pixels are no longer a separate object, so you can:

You can also choose Bitmap Fill in the Color panel and draw new shapes filled with a library bitmap; see Bitmap fills. A bitmap used in a fill stays in the library while the fill uses it.

Bitmap Properties

Double-click a bitmap in the library, or right-click it and choose Properties.... The dialog shows a preview, the bitmap's name, the file it came from (its Source), its size in pixels and when it was imported, and these settings:

Allow smoothing
On by default. Draws the bitmap smoothly when it is scaled or turned. Turn it off for pixel art, so pixels stay hard-edged.
Compression
Photo (JPEG) or Lossless (PNG/GIF): how a published movie should compress the bitmap. Use Photo for photographs and painted pictures, Lossless for flat colors and sharp edges.
Quality
For Photo compression, the JPEG quality from 1 to 100, or Document default (0) to use the quality in the publish settings.

Phoenix keeps Compression and Quality with the bitmap, in FLA files too, so other tools that publish the file use them. Phoenix's own SWF export stores every bitmap without loss. The buttons below the settings act at once:

Update
Reads the bitmap again from its source file. Available when that file still exists.
Import...
Replaces the picture with another image file, which becomes the new source. Every use of the bitmap shows the new picture.
Edit With...
Opens the bitmap in an image editor; see below.

Name and linkage are not set here: rename a bitmap in the library (F2). Bitmaps have no linkage in the Library panel; see Linkage.

Keep bitmaps up to date

When you change an imported picture in another program, bring the change in without placing it again:

Update works for images imported from their own files. Bitmaps that came from a Photoshop layer, from inside vector artwork, or from the clipboard have no source file to read again: import the file again, or use Edit With.

Not available

Some import choices other tools offer do not exist in Phoenix: choosing which Photoshop or Illustrator layers to bring in, flattening a file to one bitmap, turning layers into keyframes, or importing text as outlines. Files are not linked live: change the source and import it again (or Update a bitmap). For a PDF, only the first page is read.