This is clean way to the Internet and creation own web sites

Chapter 1: Introduction to Contribute 2

Posted: July 15th, 2010 | Author: admin | Filed under: Book VII Contribute 2 | Comments Off

In This Chapter

Deciding when to use Contribute

Checking out the Contribute interface

Setting your preferences

F or many big Internet and intranet sites these days, Web development

Experts are the ones who author the site (that is, they design it and

Build it from scratch, or at least set up its basic framework). After a site is

Established, it may then need to grow and change — which in the past meant

Calling in that handy Web development expert again to update a Web site.

Now, however, people more familiar with the content that needs to go on the

Site than with the vagaries of Web development are being asked to take on

The responsibility of updating the original pages or adding new pages based

On existing designs.

The original version of Dreamweaver was built to enable people to create

And modify Web pages without having to learn the boring ins and outs of

HTML. The funny thing is, the “new-and-improved” Dreamweaver MX 2004

Has become so powerful as an authoring tool that it’s too complex and

Intimidating (and expensive!) for non-experts who simply want to maintain

An existing site.

So what’s a non-expert to do? Read on to discover the answer.

Why Contribute?

When Dreamweaver is too much, Contribute is just right. Contribute is

Designed especially for people who must contribute to an existing site but

Don’t need or want to know how to develop a site from scratch.

Contribute is streamlined to make Web page production as simple as possible,

Which means there are many things the application can’t do, such as editing

The HTML making up the page. For those kinds of tasks, you definitely still

Need Dreamweaver. Table 1-1 offers a list of some common Web page tasks

That each application can be used for. Exploring the Contribute Interface 734

Table 1-1 Comparing the Capabilities of Dreamweaver and Contribute

Task Dreamweaver Contribute

Creating a new page from scratch x x

Creating a new page from a x x

Dreamweaver template

Creating a Dreamweaver template x

Viewing and editing the underlying HTML code x

Directly

Adding, deleting, and modifying text and tables x x

Adding and deleting images x x

Creating DHTML navigation bars x

Adding, modifying, and deleting behaviors x

(such as JavaScript button rollovers)

Creating and modifying framesets x

Modifying content (such as text and images) x x

Within frames

Creating forms x

Creating and editing Cascading Style Sheets (CSS) x

Applying CSS styles to text x x

Uploading and downloading Web Pages to/from a x x

Remote server

As you can see, there’s quite a bit of overlap in the capabilities of the two

Applications, but the more complicated tasks are best accomplished using

Dreamweaver.

Exploring the Contribute Interface

The Contribute interface is as streamlined as its functionality, as you can

See in Figure 1-1. Two panels are at the left, with a big work area — known as

The Browser — at the right.

Panel basics

While other applications in the Macromedia Studio MX 2004 suite have

Many customizable panels, Contribute has just two basic panels, the Pages

Panel and the How Do I panel, as shown in Figure 1-1. Unlike the panels in

Other Macromedia Studio applications, you can’t move, group, or delete the

Panels in Contribute. Book VII

Chapter 1

Introduction to

Contribute 2

Exploring the Contribute Interface 735

You can, however, collapse and expand the panels by clicking the arrow

At the top left of the panel or by clicking the panel name. If the panel was

Expanded before you clicked, it collapses. If it was collapsed originally, it

Expands.

You can hide (or show) both panels by using the keyboard shortcut F4.

The Pages panel

The Pages panel displays the name of the most recent page you browsed to,

Any unpublished drafts you have (that is, any pages you have downloaded

And edited but not uploaded back to the server), and the page on which

You’re currently working. Figure 1-2 shows that we’re currently working on

The page titled “AAT : Treets,” and that we have a draft of the “AAT : Artists”

Page that has been edited but not yet uploaded.

To navigate to any page listed in the Pages panel, click the title or the icon

To the left of the title of the page you want to display in the Browser.

If you click on the page at the top of the list, the Browser automatically

Switches to Browse mode. If you’re already in Browse mode and you click a

Draft, the Browser automatically switches to Edit mode and displays your

Page, ready to edit.

Figure 1-1:

Contribute’s

Streamlined

Interface

Includes

Two panels

(at left)

And the

Browser. Exploring the Contribute Interface 736

The Browser is always at the top of the list in the Pages panel. See “The

Browser/Editor” section, later in this chapter, for more information on the

Browser itself.

The How Do I panel

The How Do I panel has three sections when you open Contribute for the

First time (refer to Figure 1-1 to see the panel in its basic state):

✦ Get Started

✦ Add a New Page to My Website

✦ Administer a Website

By default, all sections are expanded. It’s easy to collapse or expand a sec -

Tion; just click the arrow at the left of the section name, or click on the sec -

Tion name itself. If the section is expanded when you clicked, it collapses.

If the section is collapsed when you click, it expands.

Each section has a list of actions you might want to perform. The list is in

The form of text links, just like on a Web page. The list of links changes, based

On what you’re currently working on. We collapsed the first two sections in

Figure 1-2 so that you can see some of the other sections that show up auto -

Matically in the How Do I panel when you’re editing a page.

Figure 1-2:

The title of

The page

Currently

Being

Edited is

Highlighted

In the Pages

Panel; the

Page itself

Is available

For editing

In the

Browser. Book VII

Chapter 1

Introduction to

Contribute 2

Exploring the Contribute Interface 737

When you click a link, the How Do I panel updates, as shown in Figure 1-3.

To return to the previous page of information in the panel, click on the Back

Button at the top left of the How Do I panel. To go back to the original list of

Links, click the Topics icon at the top right of the panel.

The Browser/Editor

The main work area is called the Browser/Editor (we call it the Browser to

Save space). The Browser has two modes, Browse and Edit, and you can

Only be in one mode at a time. The appearance and functionality of the

Browser depend on which mode you’re in.

When you’re in Browse mode in the Browser, you can navigate anywhere a

Regular Web browser, such as Internet Explorer or Netscape Navigator, could

Take you. When you’re in Edit mode, you can make changes to a Web page.

Browse mode

In order to browse to a page you want to update, you must use the Browser

In its Browse mode. You can tell when the Browser is in Browse mode by look -

Ing at the buttons at the top. The following buttons (as shown in Figure 1-4)

Allow you to navigate as you would using any browser, like IE or Navigator:

✦ Back: Click this button to view the previous page you were viewing in

The Browser. You can step back one at a time through each of the pages

You viewed since you opened the browser. The Back option in the View

Menu performs the same function.

✦ Forward: Click Forward to go one page at a time from pages you viewed

Earlier to pages you viewed most recently.

Figure 1-3:

The

How Do I

Panel fits

A lot of

Information

In a small

Space by

Using links. Exploring the Contribute Interface 738

✦ Stop: Pages with lots of big images or complex Flash movies sometimes

Take awhile to load in the Browser. Click this button to stop a page from

Loading further in the Browser.

✦ Refresh: As with your regular Web browser’s Refresh button, this

Button reloads the current Web page in the Contribute Browser.

The rest of the buttons are specific to the Contribute Browser:

✦ Edit Page: Click this button to edit the page you have browsed to. When

You click Edit, Contribute downloads the page and automatically sets

The Browser to Edit mode. This option is not available if you don’t have

What Contribute calls a connection — that is, permission to edit the page.

✦ New Page: Click this button to create a new page on the current Web

Site. You will be prompted to name the page and, if you desire, to choose

A page or template to use as a basis for the new page. See Book VII,

Chapter 2 for more details.

✦ Home pages: Use this button to navigate quickly to the home pages of

The sites to which you have Contribute connections. Click and hold to

See a drop-down list of eligible home pages.

✦ Go: This button works in conjunction with the Address text input field.

See the following instructions for browsing to a page on the Internet.

✦ Choose: Click this button to open a dialog box in which you can navi -

Gate quickly to any page on the Web site you’re currently updating.

To browse to a page on the Internet, just follow these simple steps:

1. Type or paste a URL (such as www. earlsbowlateria. com) into the

Address field at the top of the Browser.

2. Click the Go button at the right of the address input field or press

Enter.

The requested Web page opens in the Browser.

When you browse to a site you have been set up to edit with Contribute, the

Top left of the Browser toolbar has two buttons: Edit Page and New Page.

Figure 1-4:

The

Browser

Toolbar in

Browse

Mode. Book VII

Chapter 1

Introduction to

Contribute 2

Exploring the Contribute Interface 739

(Refer to Figure 1-4). When you browse to a page you are not set up to edit

With Contribute, the Edit Page and New Page buttons are replaced by the

Create Connection button (see the section on connecting to a site in Book VII,

Chapter 2 for more information on creating connections).

Edit mode

The Edit mode is what Contribute is all about: It’s the mode that you use to

Make changes to Web pages. To get into Edit mode after you’ve browsed to

An editable page, do one of the following:

✦ Click the Edit Page button at the top left of the Browser

Or

✦ Choose File➪Edit Page or use the keyboard shortcut Ctrl+Shift+E

To get into Edit mode if you haven’t yet browsed to a page you have permis -

Sion to edit, click the name of an existing Draft in the Pages panel (or click

The icon next to the name). The Draft opens in the Browser, and the Browser

Automatically switches to Edit mode.

Most of Book VII, Chapter 2 is about the things you can do in Edit mode, so

If you’re anxious to get to work on a site, skip ahead to the next chapter.

Menus

The Contribute menu bar sports eight menus, each of which includes sev -

Eral choices. (Many of the choices are also available from buttons at the top

Of the Browser.) We give you some details about the first three menus, as

Well as brief descriptions of what the other five offer:

✦ File: Every computer program has a File menu, with options like Open,

Save, and the like. The Contribute File menu offers the following:

• New Page: Select this option to create a new Web page. You can

Create a new page from scratch, from an existing page, or from a

Dreamweaver MX 2004 template. See Book VII, Chapter 2 for details.

• Edit Page: This option is only available when the Browser is in

Browse mode and is currently displaying a page you have permis -

Sion to edit. When you select File➪Edit Page, Contribute downloads

The page to your computer and makes it available for modification.

Clicking the Edit Page button in the Browser does the same thing.

• Publish: Select this option to upload an edited page to the server.

• Publish as New Page: Select this option to upload a page to the

Server with a new filename (such as aboutus. htm). You’re

Prompted to type or paste in the new filename. See Book VII,

Chapter 2 for details. Exploring the Contribute Interface 740

• Save: Select this option to save the work you have done on a draft

Without publishing the edited page. After you have saved, you may

Continue work on the draft.

• Save for Later: Select this option to save the work you have done on

A draft without publishing the edited page; the Browser will automat -

Ically change from Edit mode to Browse mode and load the last page

You were looking at in Browse mode.

• Cancel Draft: Select this to delete the draft you’re currently working

On from your computer. Note: Selecting Cancel Draft will not delete

The page from your Web site.

• Preview in Browser: Select this to see what your draft looks like in

Your regular browser (IE, Navigator, Opera, Safari, and so on).

• E-mail Review: Select this to upload a temporary version of your

Page to the server and send an e-mail to a coworker with a link to

The temporary page. If you need someone’s approval before you pub -

Lish a page (make it live on the site so users can see it), E-mail Review

Is a handy automated way to show your work to the person who can

Approve it.

• Export: Select Export to save a copy of the page you’re working on

To your local hard drive (or to a removable disk or remote hard

Drive).

• Page Setup: Select this option to open a dialog box that allows you

To customize how your printer deals with your page (paper size, ori -

Entation, and so on).

• Print: As you might expect, you can print your Web page by select -

Ing Print from the File menu.

• Print Preview: Select Print Preview to see on your computer screen

A representation of how your Web page will appear on paper when

You print it.

• Roll Back to Previous Version: If you find you’ve published a page

That has a mistake on it, select Roll Back to Previous Version to

Restore the previously published version of the page. See Book VII,

Chapter 3 for more information on this feature, which must be set

Up by an administrator.

• Delete Page: Select Delete Page to remove a page from your Web

Site. This option is available only when the Browser is in Browse

Mode.

• Work Offline: Select this option if you don’t need to upload or

Download any unpublished drafts you’re editing, or if you’re tem -

Porarily unable to connect with your network or the Internet.

• Drafts: Use this option to open an unpublished draft of a page. Book VII

Chapter 1

Introduction to

Contribute 2

Exploring the Contribute Interface 741

• Recently Published Pages: Use this option to view in the Browser a

Page you recently published.

• Exit: Select this option to close Contribute. You can also close

Contribute by pressing Ctrl+Q or Alt+F4 on your keyboard.

✦ Edit: The options under the Edit menu include such perennial favorites

As Cut and Paste, as well as a few Contribute-specific options. Which

Options are “live” (not grayed out) at any given time depends on your

Most recent action. (Figure 1-5 shows the Edit menu after some text has

Been cut from the current draft.)

• Undo: Select this option to undo your most recent actions in a draft,

One at a time. You can’t use Undo to alter a published page; for that,

You need to choose File➪Roll Back. The keyboard shortcut for Undo

Is Ctrl+Z.

• Redo: Redo is sort of an undo of an undo. Select this option to redo

The last actions you undid in your draft, one at a time, or use the key -

Board shortcut Ctrl+Y.

• Cut: Select this option to remove highlighted text or objects from

Your draft. You can then paste the text or objects into the same

Page, a different page, or even a different kind of document (for

Example, a Word document). The keyboard shortcut to cut high -

Lighted objects is Ctrl+X.

• Paste: After you’ve selected some text and/or objects (like images,

For example), select this option to paste the text and/or objects into

Your draft, or use the keyboard shortcut Ctrl+V.

• Paste Text Only: After selecting a block of text that also includes

Images or other objects, you can use this option to paste only the

Text from your selection. You can also use the keyboard shortcut

Ctrl+Shift+V.

• Clear: Use this option to remove selected text or objects from your

Web page. Unlike Cut, this option does not allow you to paste the

Removed text or objects elsewhere.

Figure 1-5:

The Edit

Menu as it

Appears

After some

Text has

Been cut. Exploring the Contribute Interface 742

• Select All: Use this option to select everything in a draft. You can

Then cut, paste, or clear everything at once. The keyboard shortcut

For select all is Ctrl+A.

• Preferences: Select this option to open a dialog box that allows you

To customize the way Contribute works. See the “Setting Preferences”

Section, later in this chapter, for details.

• My Connections: Use this option to view, edit, and delete the con -

Nections you have to the sites you maintain.

• Administer Websites: If you have Administrator privileges on any

Sites to which you have connections, use this option to open the

Administration dialog box and change any settings for the selected

Site. See Book VII, Chapter 3 for information on sitewide settings,

Permission groups, and setting up users.

✦ View: The View menu offers options related to what you see on-screen

In Contribute.

• Sidebar: Select this option to show or hide the sidebar, which con -

Tains the Pages and How Do I panels.

• Browser: Select this option to switch to the Browse mode of the

Browser. The last page you looked at in that mode appears in

The Browser. You can use the keyboard shortcut Ctrl+Shift+B or

Click the top line in the Pages panel to do the same thing.

• Go to Web Address: If you select this option, a dialog box opens in

Which you can type or paste a URL to open a particular Web page in

The Browser. When you click OK, the Browser switches to Browse

Mode — if it wasn’t already in Browse mode — and loads the page

You requested. You can also use the keyboard shortcut Ctrl+O to

Open the Go to Web Address dialog box.

• Choose File on Website: This option allows you to navigate directly

To an editable page from a window that displays all the sites to

Which you have a Contribute connection.

The Back, Forward, Stop, Refresh, and Home Pages options function

Just like their corresponding buttons in the Browser. See the “Browse

Mode” section, earlier in this chapter, for the skinny on them.

✦ Bookmarks: A bookmark is a link to a Web page. Options here allow you

To add and delete bookmarks to Web pages you visit often. If your main

Web browser is IE, you see all your IE bookmarks listed under the Other

Bookmarks option.

✦ Insert: Select an option in this menu to insert an item into a draft. The

Insert menu allows you to insert the following items into a draft:Book VII

Chapter 1

Introduction to

Contribute 2

Setting Preferences 743

• Image • Line Break

• Table • Special Characters

• Link • Microsoft Office Document

• Date • Other Document

• Section Anchor • Flash Movie

• Horizontal Rule

✦ Format: You can use the options in this menu to format selected text

In a draft. You can apply CSS styles, as well as more traditional HTML

Text treatments like bold and italic. See Book VII, Chapter 2 for details

On text formatting in Contribute. The Format menu also gives you access

To the Contribute Spell Check (keyboard shortcut: F7) and to edit Page

Properties, such as title and background color (keyboard shortcut:

Ctrl+J).

✦ Table: This menu offers commands that allow you to insert and edit

Tables in your draft.

✦ Help: The Help menu gives you a choice of several kinds of help:

• Macromedia Contribute Help: Select this option to view standard

Help files, with step-by-step instructions.

• Quick Start Guide: Select this option to see instructions on the

Basics of Contribute to help get you up and running quickly.

• Contribute Support Center: When you select this option, your

Regular Web browser opens to the Contribute Support home page

On Macromedia’s Web site.

• Contribute Tutorial: Select this option to access a set of guided les -

Sons on basic tasks you can perform with Contribute.

The Help menu also allows you to open the Contribute Welcome page

In the Browser, print your Contribute registration form or submit your

Registration online, and see the About Contribute window, which

Shows information about the version of Contribute you’re running.

The Insert, Format, and Table menus give you ways to perform tasks we dis -

Cuss in more detail in Book VII, Chapter 2.

Setting Preferences

For most users, the default Preferences should suffice, but you may wish to

(or need to) make a few changes in order to use Contribute most efficiently.

To open the Preferences dialog box, choose Edit➪Preferences. Setting Preferences 744

The Preferences dialog box includes five “screens”; you access the different

Screens by selecting one of the items in the list on the left side of the dialog

Box (see Figure 1-6). A brief overview of each page follows.

Setting general preferences

The General screen of the Preferences dialog box has two sections:

✦ Editing Options

• Faster Table Editing (Deferred Update): This check box is selected

By default. Deselect this check box if you want Contribute to update

The way tables appear on-screen as you edit them, which may slow

Down other Contribute operations.

• Enable ScreenReader Support: Select this check box if you have a

Visual impairment that hinders your ability to work with Contribute.

• Spelling Dictionary: Choose a dictionary language from the drop -

Down list. Contribute uses the dictionary to spell-check Web page

Drafts.

✦ Microsoft Office Documents: You can choose one of the following

Options for the way Contribute treats a Word document or Excel

Spreadsheet when you insert it into a draft.

• Insert the Contents of the Document into the Current Web Page:

Choose this option if you want Contribute to convert the contents

Of the document into HTML.

• Insert a FlashPaper Viewer for the Document into the Page: Use

This option if you want to use Contribute’s new FlashPaper technol -

Ogy to convert the document. See Book VII, Chapter 4 for details.

• Create a Link to the Document (Recommended for Large Docu -

Ments): Use this option if you want Contribute to upload the Office

Figure 1-6:

The

Preferences

Dialog box. Book VII

Chapter 1

Introduction to

Contribute 2

Setting Preferences 745

Document to your Web site and put a link to the document in the

Draft you’re currently editing.

• Ask Whenever I Insert a Microsoft Office File into Contribute: Use

This option if you need to handle inserting Office documents into your

Web pages on a case-by-case basis. This option is selected by default.

Setting file editor preferences

You can tell Contribute what application you want it to use to open various

Types of files when you double-click the files in the Browser in Edit mode. To

Set Contribute to open a particular type of file with a particular application,

Just follow these steps:

1. Select File Editors from the list on the left side of the Preferences

Dialog box.

The File Editors options appear, as shown in Figure 1-7.

2. If the extension is not already listed in the Extensions list box, click

The + button above the Extensions box (if the extension is already

Listed in the Extensions box, skip to Step 4).

A cursor blinks at the bottom of the list.

3. Type the name of the extension, including the dot (for example, type

.wav for a WAV audio file) and press Enter.

The extension you typed in remains highlighted.

4. If the application is not already listed, click the + button above the

Editors box (if the application is listed, click its name to select it and

Skip to Step 6).

The Select External Editor dialog box pops up.

Figure 1-7:

Setting the

File Editor

Preference

For GIFs. Setting Preferences 746

5. Navigate to the application and double-click its icon, or type the path -

Name (including the application name) into the File Name text field.

The application name appears in the Editors box.

6. Set any other file editor preferences and click OK when you’ve

Finished.

Contribute comes with quite a few defaults (naturally, Macromedia Studio

MX 2004 applications feature prominently), so you may never need to touch

The File Editors preferences. You can assign more than one application to edit

A particular file type. If you do that, you need to designate one of the pro -

Grams as the primary application by selecting it in the File Editors screen

Of the Preferences dialog box and clicking the Make Primary button.

Setting firewall preferences

If your computer is separated by a firewall from the server that houses your

Site (or sites), use the Firewall screen of the Preferences dialog box to input

The host name and port number that allow you to tunnel through the firewall.

If you’re not sure what all that means, ask someone in your IT department.

Setting invisible element preferences

When you link some text or an image to a particular line on a Web page,

You need to place an invisible target (an anchor) at that line. Select Invisible

Elements in the list box on the left of the Preferences dialog box to see the

Invisible Elements options. Leave the Show Section Anchors When Editing a

Page check box selected if you want to be able to see icons that identify

Where invisible anchor links are in your draft.

Setting security preferences

If you share a computer with other people and don’t want them to have

Access to Contribute (and therefore to the sites you maintain), open up the

Security options on the Preferences dialog box and select the Require

Contribute Startup Password check box. Then follow these steps:

1. Click in the Password text field, type a password, and press the

Tab key.

The cursor moves to the Confirm Password text field.

2. Retype your password in the Confirm Password text field exactly as

You typed it in the Password text field above. Press Enter or click OK.

Contribute will ask for a password when you launch the application.

You can change your preferences at any time by choosing Edit➪Preferences.


Chapter 10: Integrating Macromedia Flash MX 2004 with Other Macromedia Products

Posted: July 15th, 2010 | Author: admin | Filed under: Book V Macromedia Flash MX 2004Contents at a Glance | Comments Off

In This Chapter

Integrating Macromedia Flash with Fireworks

Integrating Macromedia Flash with Dreamweaver

Integrating Macromedia Flash with FreeHand

Integrating Macromedia Flash with ColdFusion

A ll the Macromedia Studio MX 2004 products covered in this book are

Extremely useful for creating Web sites. If you are responsible for an

Entire site — content, art, interface, and server-side programming — you

Can bring the capabilities of the entire Macromedia Studio suite to bear on

Your site.

The integrated interface means that the programs look and work similarly.

For example, the Properties panel basically serves the same purpose in

Fireworks MX 2004, Dreamweaver MX 2004, FreeHand MX, and Macromedia

Flash MX 2004.

In addition to similar interfaces, the programs also share common tool

Icons. When you look for the Pen tool in Macromedia Flash, it looks the

Same as the Pen tool in FreeHand and Fireworks. Nope, sorry, you won’t find

A Pen tool in Dreamweaver, it’s only got WYSIWYG (What You See Is What

You Get) tools for inserting graphic objects.

Integrating Macromedia Flash with Fireworks

Macromedia Fireworks is a full-featured Web graphics program. Its native

Format is PNG, which is a bitmap file format. Fireworks can also work with

Vector images. You can export Fireworks vector and bitmap images to

Macromedia Flash’s SWF movie format and then import them into

Macromedia Flash. Integrating Macromedia Flash with Fireworks 610

You can also use the quick export feature to copy an object from Fireworks

To the system Clipboard, and then paste it into Macromedia Flash, or you

Can export selected objects as SWF files. SWF files are generically referred to

As Flash movies. You activate the Quick Export feature by clicking the Quick

Export icon in the upper-right corner of the Fireworks Document window.

Importing a Fireworks PNG into Macromedia Flash

You can import both PNG files and the SWF files created in Fireworks into

Macromedia Flash by choosing File➪Import➪Import to Stage. When you

Import a Fireworks PNG file into a Flash document, you have a tremendous

Amount of latitude. You can choose to import the file as a movie clip and

Retain layers, maintain paths as editable objects, and maintain text as

Editable. Additionally, you can decide to flatten the PNG file into a single

Bitmap.

If you import a graphic from Fireworks, you can start the editing process

From within Macromedia Flash. Select the graphic and click Edit in the

Properties panel (Window➪Properties). Macromedia Flash opens Fireworks,

Where you can edit the image. In fact, there’s even this spiffy Editing from

Flash icon, in case you go on an extended break and when you return, you

Forget what you were doing.

If you import the PNG file into Macromedia Flash and flatten it to a single

Bitmap, when you edit the file from within Macromedia Flash, Fireworks

Opens the original PNG file, and you can then edit every object to your

Heart’s content. When you’re done editing, click the Done button and

Fireworks updates the image in Macromedia Flash. It’s known as roundtrip

Editing. Now is that cool or what? Figure 10-1 shows a PNG file being edited

In Fireworks.

Some software is horribly invasive. If you’ve installed other software after

You installed the Macromedia Studio suite, this software may declare itself

As the default editor for PNG files. If this happens, you may have to use your

Operating system to change the associated program for PNG files to

Fireworks, or reinstall the Macromedia Studio suite. If this is not feasible,

You’ll have to choose the Edit With option in Macromedia Flash and navi -

Gate to the Fireworks. exe file.

As with other Macromedia products, the interface for Fireworks is very simi -

Lar to the one you know in Macromedia Flash. So when you are roundtrip

Editing, it’s not like you have to learn a new toolset or anything. You have

Similar tools, similar panels, and the familiar Properties panel, for example.

The similar interface makes it easy to switch between programs without get -

Ting confused. Book V

Chapter 10

Integrating

Macromedia Flash

MX 2004

Integrating Macromedia Flash with Fireworks 611

Cutting and pasting between Macromedia

Flash and Fireworks

Another option is to cut and paste between Macromedia Flash and

Fireworks. If you’re creating a graphic symbol in Macromedia Flash and it’s

Just not working out, you can use the graphic tools in Fireworks to smooth

Out the lumps in your graphic by following these steps:

1. Choose Edit➪Cut.

Macromedia Flash cuts the object to your system Clipboard.

2. Launch Fireworks.

3. Choose File➪New.

Fireworks is so smart, it knows how big the object you cut from

Macromedia Flash is, and the document is just the right size.

4. Choose Edit➪Paste.

Fireworks pastes the object into the new document.

5. Edit the object in Fireworks.

You can use the Fireworks editing tools to modify the object you cut

From Macromedia Flash, add objects, and even add layers. However,

Figure 10-1:

Roundtrip

Editing:

From Flash

To Fireworks

And back to

Flash. Integrating Macromedia Flash with Dreamweaver 612

Make sure you’ve got everything where you want it, because when you

Select everything in Fireworks and then cut it and paste it back into

Macromedia Flash, the objects you added are flattened and cannot be

Edited. The better solution is to follow Step 6 onward.

6. After you’ve finished editing in Fireworks, choose File➪Save.

The Save dialog box opens.

7. Enter a name for the file and navigate to the folder where you want to

Save the file.

Fireworks saves the file in its native PNG format.

8. Exit Fireworks.

9. In Macromedia Flash, choose File➪Import.

The Import dialog box appears.

10. Select the file you just saved in Fireworks and click the Open button.

The Fireworks PNG Import Settings dialog box opens.

11. Choose the settings that best suit the Flash document you’re

Working on.

If you want the ability to edit individual objects from the Fireworks file

In Macromedia Flash, make sure you don’t flatten the image. Import the

File as a movie clip and retain layers. If you were editing a symbol when

You cut the object from Macromedia Flash, select the Import into New

Layer in Current Scene option, and Macromedia Flash imports the PNG

File into the symbol you’re editing and retains each object from the

Fireworks PNG file as individual objects. You can now move individual

Objects as needed, or create additional layers for the objects.

Integrating Macromedia Flash with Dreamweaver

The Dreamweaver interface is also similar to the Macromedia Flash interface,

With bunches of panels — including the ever-present Properties panel. You

Can use Dreamweaver to create HTML code that holds your SWF files. It’s easy

To insert SWF files into Dreamweaver Web pages — just click the Flash icon on

The Common or Media categories of the Insert bar. You can also use

Dreamweaver to generate Flash buttons for use in HTML and CFML pages.

You can open, create, edit, and optimize Macromedia Flash files directly

From Dreamweaver. Finally, Dreamweaver now supports ActionScript edit -

Ing. You can create server-side ActionScript in Dreamweaver and save a docu -

Ment as a Macromedia Flash AS (ActionScript), ASR (ActionScript Remote),

Or ASC (ActionScript Communication) file. The latter two options will only

Work if you’re using Macromedia Flash MX Professional 2004. Book V

Chapter 10

Integrating

Macromedia Flash

MX 2004

Integrating Macromedia Flash with FreeHand 613

When you have a Macromedia Flash file in a Dreamweaver document and it’s

Not up to snuff, you don’t have to exit Dreamweaver and reopen the original

FLA file, edit it, and then publish the file again. That would be way too much

Work. In fact, we’re exhausted from just typing the last few sentences.

Fortunately, there’s a much simpler way. When you’re working on a

Dreamweaver HTML file that has an SWF movie embedded within it, you can

Edit the Macromedia Flash file by following these steps:

1. Select the Macromedia Flash file in the Dreamweaver HTML

Document.

It’s the gray rectangle with an F emblazed on it. Note that you must be

Working in Design or Code and Design (Split) view to do this.

2. Open the Properties panel.

For more information on the Dreamweaver Properties panel, see Book II,

Chapter 1.

3. Click the Edit button.

Dreamweaver launches Macromedia Flash, and the Locate Macromedia

Flash Document File dialog box appears.

4. Navigate to the folder where the native FLA file that you published

The SWF movie from is stored.

5. Select the appropriate file and click the Open button.

The native FLA file that you published the Flash movie as opens in

Macromedia Flash, and lo and behold, an icon that says Editing from

Dreamweaver appears.

6. Edit the file in Macromedia Flash as needed.

7. After editing the file, click the Done button.

This publishes the movie again and updates the file in Dreamweaver.

Before exiting, you may want to choose Control➪Test Movie to make

Sure all is in order.

That’s roundtrip editing from Dreamweaver to Macromedia Flash. Too cool.

Integrating Macromedia Flash with FreeHand

Although at one time FreeHand was used mostly to create graphics for

Printed media, such as magazines, it now has many features that are very

Valuable for Web site use. FreeHand can create complex vector graphics

Beyond anything you can create with Macromedia Flash. You can easily

Import FreeHand graphics into Macromedia Flash by choosing File➪Import. Integrating Macromedia Flash with FreeHand 614

When you import FreeHand graphics, you have a great deal of control over

How graphics appear in Macromedia Flash. You can do the following:

✦ Assign pages of FreeHand documents to Macromedia Flash scenes or

Keyframes.

✦ Assign FreeHand layers to Macromedia Flash layers or keyframes, or

Choose to import the entire FreeHand graphic as one layer (flattened).

✦ Convert lens fills (for example, Magnify and Transparency) to

Macromedia Flash equivalents.

✦ Import symbols from the FreeHand Library directly into your

Macromedia Flash Library.

You can use the Flash Navigation panel in FreeHand to test SWF files before

You export them to Macromedia Flash. FreeHand has an anti-alias display

Mode that uses Macromedia Flash’s anti-alias feature to show you how your

FreeHand artwork will look in Macromedia Flash. You can apply hyperlinks

And Flash actions to graphics and text from within FreeHand.

FreeHand’s animation feature means that you can create animations

In FreeHand and use them in Macromedia Flash. This enables you to

Use the FreeHand vector drawing tools to create a character, bring it to life

In FreeHand, and then export it as a Flash 4 or Flash 5 SWF file. After all,

Vector illustrations are FreeHand’s claim to fame.

You can export FreeHand documents as SWF files. Furthermore, you can

View FreeHand documents as temporary SWF files, a process similar to

Choosing Control➪Test Movie in Macromedia Flash. FreeHand opens a

Macromedia Flash Player window, and you can see how your FreeHand doc -

Ument will look as an SWF file.

When you create files in FreeHand with the intention of using them in Flash

Documents, make sure you use the RGB color model. (See Book IV, Chapter 6

For more about color management in FreeHand.) FreeHand files created with

The CMYK color model are converted to RGB when you import them into

Macromedia Flash. Macromedia Flash generally does a pretty good job of

Making the transformation, but if you’re a stickler for detail and you want

What you see in FreeHand to be what you get in Macromedia Flash, stick

With the RGB color model when choosing colors for fills and strokes.

In spite of the fact that FreeHand and Macromedia Flash are distant cousins,

If you try to copy an object from Macromedia Flash with the hope of pasting

It into FreeHand for some hands-on editing, you can paste the file just fine,

But all you can edit is the stroke of the object you created in Macromedia

Flash. The fill acts just like a bitmap and refuses to yield to the FreeHand

Editing tools. Book V

Chapter 10

Integrating

Macromedia Flash

MX 2004

Integrating Macromedia Flash with ColdFusion 615

Integrating Macromedia Flash with ColdFusion

When you need to coordinate Flash applications with server-side

ActionScript code, you use ColdFusion. ColdFusion supports server-side

ActionScript that you can use to create your Macromedia Flash Remoting

Applications, making it easier to program both sides of the equation

(server-side and client-side) in one programming language. Server-side

ActionScript is a document stored in a directory at the Web server, as

Opposed to ActionScript in the Flash movie. These features are only avail -

Able to Web developers who are using Macromedia Flash MX Professional

2004. Macromedia Studio, by default, does not include this version of

Macromedia Flash.

Another plus when you use the Macromedia Studio suite is the fact that you

Can use ColdFusion as a testing server. When you start creating server-side

ActionScript in Dreamweaver that dovetails with an application you’re creat -

Ing in Macromedia Flash, you don’t have to upload everything to the Web

Server to test your application. You can use ColdFusion as a local server and

Test the Flash application (which, as you may remember, is embedded in an

HTML file, the pearl in Dreamweaver’s oyster), by testing the HTML docu -

Ment in Dreamweaver to make sure all is well.

You can also connect databases with Flash movies to provide personalized

Or continually updated information to viewers and add special features,

Such as text search and dynamic charting, to Flash movies.

Integrating Macromedia Flash with other

Macromedia products

Macromedia also has two other Flash-related

Products that you should know about —

Macromedia Flash Communication Server

MX and Macromedia Flash Remoting MX.

These products are for advanced users who

Want to build communications applications in

Macromedia Flash and integrate Macromedia

Flash with applications built in ColdFusion or

Other server-side systems.

Macromedia Flash Communication Server MX

Macromedia Flash Communication Server is

A new Macromedia program that enables

Programmers to develop communications appli -

Cations for Web sites. Some of the possibilities

Include the following:

Video teleconferencing

Video broadcasting for presentations

Audio messaging

Text messaging

Live chat rooms

Polling

(continued)Integrating Macromedia Flash with ColdFusion 616

White boards

Message boards (discussion groups)

To write the programming code, you can use

Dreamweaver to create server-side Action -

Script. A number of prebuilt components are

Available as downloads from Macromedia’s

Web site to make it easy to create communica -

Tions application. For further information, go to

The following URL:

Www. macromedia. com/software/

Flashcom

If the previous paragraphs have piqued your

Interest, you may want to consider downloading

The trial version of Macromedia Flash Comm -

Unication Server. After you download the trial

Version and install it, you can peruse sample

Applications that Macromedia has already cre -

Ated for you. If you have a Web cam hooked up

To your computer, you can test the video capa -

Bilities of Macromedia Flash Communication

Server. The Macromedia Flash Player acts as the

Conduit between your Web camera and the

Macromedia Flash Communication Server. You

Can download the trial version of Macromedia

Flash Communication Server at this URL:

Www. macromedia. com/software/

Flashcom/download/

Components/license. html

Macromedia has created some ready-built

Macromedia Flash Communication Server com -

Ponents. The ActionScript in these babies is

Longer than most short stories, but don’t fret, you

Don’t have to write it; Macromedia Flash geeks

Have already done that for you. After you down -

Load the Macromedia Flash Communication

Server components and install them, you have a

New sub-group in the Components panel called

Communications Components, as shown in the

Following figure. Instead of creating the graphics

And ActionScript (which is very complicated),

You can just drag one of these components from

The Components panel into your Flash applica -

Tion, and you’re good to go. You can download

The Macromedia Flash Communication Server

MX components at this URL:

Www. macromedia. com/software/

Flashcom/download/

Components/index. html

Macromedia Flash Remoting MX

Macromedia Flash Remoting offers tools for

Programmers to connect Macromedia Flash

With a Web server application built with

ColdFusion, .NET, or Java. You can integrate

Macromedia Flash with databases and Web

Services by using special ActionScript com -

Mands. You can use your elegant Macromedia

Flash artwork as the interface to display data

From databases. For more information, go to the

Following URL:

Www. macromedia. com/software/

Flashremoting

Macromedia Flash Remoting is an excellent tool

You can use to create dynamic Flash applica -

Tions. For example, if you want to create a Flash

Application that displays a slide show, you can

Use the Flash ListBox or ComboBox component

(continued)Book V

Chapter 10

Integrating

Macromedia Flash

MX 2004

Integrating Macromedia Flash with ColdFusion 617

And create a function to populate the ListBox or

ComboBox with the titles and file names of the

Images you want to load. The down side is that

If you need to change the images, you have to

Edit the Flash movie and enter new values in the

ListBox or ComboBox. However, if you use

Macromedia Flash Remoting, you can access a

Database that stores the titles and filenames of

The images and load them into the Flash appli -

Cation through a ColdFusion component you

Created in Dreamweaver. The ColdFusion

Component (or CFC as the ColdFusion geeks

Refer to them) is the conduit between your Flash

Application and the database. If you’ve dabbled

In ColdFusion and feel comfortable with

ActionScript, this is your ticket to creating

Dynamic Flash applications. A cool Flash inter -

Face with Macromedia Flash Remoting and the

Odd ColdFusion Component or four adds up to

Something very special.

Macromedia Flash Remoting can be accom -

Plished with any server that has ColdFusion

Installed. If you’re creating Macromedia Flash

Remoting applications for a client that has a

ColdFusion server, you can test the application

On your local machine using the version of

ColdFusion that ships with the Macromedia

Studio MX 2004 application. But the first step is

To download the Macromedia Flash Remoting

MX Components you find at this URL:

Www. macromedia. com/software/

Flashremoting/downloads/

Components

After you download and install the components,

You may be a bit disappointed, because there are

No new components installed in Macromedia

Flash. That’s true, but a whole lot of actions are

Added to the Actions panel that you find in the

Remoting book, as shown in the following figure.


Book VII Contribute 2

Posted: July 15th, 2010 | Author: admin | Filed under: Book VII Contribute 2 | Comments Off

Contents at a Glance

Chapter 1: Introduction to Contribute 2 ………………………………………………………………..733

Chapter 2: Basics for Contributors……………………………………………………………………….747

Chapter 3: Contribute 2 Administration………………………………………………………………..773

Chapter 4: Contribute 2 and Other Macromedia Products……………………………………..803