Start learning with our library of video tutorials taught by experts. Get started

Creating a First Web Site with Flash Professional CS5

Creating the first graphic


From:

Creating a First Web Site with Flash Professional CS5

with Paul Trani

Video: Creating the first graphic

The first thing I am going to create is a horizontal bar that will be my navbar, as well as a quick graphic that will eventually be a button. So I am going to come down here in my toolbar and I am going to select this Rectangle tool. And from there what I can also do is start to select maybe a stroke color, such as black and then even a fill color as red. And then I can go ahead and draw sort of this navbar, and I will just roughly draw it in up here at the top.

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
Creating a First Web Site with Flash Professional CS5
2h 45m Beginner Jul 27, 2010

Viewers: in countries Watching now:

Creating a First Web Site with Flash Professional CS5 shows how to make a fully functional, dynamic web site in Flash Professional CS5. This course covers the fundamentals of creating and importing content, adding smooth 2D and 3D transitions, and adding button functionality that goes beyond links. This course will also show how to integrate and control video and audio as well as how to implement a gallery and a contact form. Exercise files are included with the course.

Topics include:
  • Understanding web design
  • Creating buttons and web graphics in Photoshop
  • Formatting text with the Text Layout Framework
  • Using the Timeline
  • Creating a custom looping animation
  • Loading images in a gallery
  • Creating invisible buttons
  • Adding music and video to a site
  • Customizing video playback controls
  • Optimizing and publishing a web site
Subjects:
Web Interaction Design Projects
Software:
Flash Professional Illustrator
Author:
Paul Trani

Creating the first graphic

The first thing I am going to create is a horizontal bar that will be my navbar, as well as a quick graphic that will eventually be a button. So I am going to come down here in my toolbar and I am going to select this Rectangle tool. And from there what I can also do is start to select maybe a stroke color, such as black and then even a fill color as red. And then I can go ahead and draw sort of this navbar, and I will just roughly draw it in up here at the top.

So that's what I have drawn and I then want to go ahead and select the Selection tool, and I can go ahead and click on this fill area. And this is a common mistake. You will click and just grab the fill and not the stroke. So I will just an Undo. So you might want to double- click in order to capture both. So with both selected, I can now move them around. Okay. One thing I can do, because I want this to be actually a smaller size, well, I can go ahead and use the Free Transform tool, third tool down, and I can adjust it by any one of these nodes and sort of shrink it up like that.

If you want to get more exact, what you are going to want to do is open up the Properties panel, and from there you can determine its exact size and position. So again, I want this to be in the upper left-hand corner so I will just type in 0, 0. And for the width, I actually just want it to be 1000 pixels wide and about 35 pixels high. That's more like it. And next up, I want to go ahead and change my fill and stroke. So regardless of what you started with, you can always sort of remove the stroke, if you want, by again clicking this button right here and then I can go ahead and select black for the fill color. So far, so good.

There is my graphic. And what I have done is I have actually drawn it on this layer, layer 1. So I probably want to rename this to navbar, just like that. I am going to create another graphic really fast and I am going to put it on a new layer, so I am going to click this New Layer icon, and from there I can go ahead and type in button. Just right here, I am going to just create this quick button graphic. So I am going to use the Rectangle tool again and I am going to go ahead and select medium to dark gray.

And I am going to draw it sort of at the same height. And notice actually Flash will snap sort of into view. It will snap to other graphics, so I can see that this button actually snaps to the height of that navbar. So again, I can select the Selection tool and my graphic and I can check out its size. So again, it's 35 pixels high, and I can go ahead and make it about 100 pixels wide. But overall that looks pretty good and I just want to be aware always of what layer I am on when I am drawing.

But again, those are just two quick graphics and now I am sort of set up to take this to the next step and turn this into symbols.

Find answers to the most frequently asked questions about Creating a First Web Site with Flash Professional CS5.


Expand all | Collapse all
Please wait...
Q: I followed all the steps and suggestions in the "Adding a progress bar" video, but when I add the progress bar to my web site, I can’t remove it once the index.swf file loads up. The progress bar remains on the homepage and the rest of the pages. How do I make it disappear once the site loads?
A: To make it disappear, just make sure the progress bar is only in frame 1. If it’s on its own layer, then right-click on the 2nd frame in that same layer and select "Insert Blank Keyframe." That will make it disappear.
Q: Despite following the steps in the "Adding a progress bar" video, I cannot figure out how to keep the progress bar from appearing on a movie that has finished loading. How can I make the progress bar disappear?
A: Just add the red line below to the preloader.fla file. This will make the progress bar invisible: 
"function contentLoaded(evt:Event):void { //Optionally change to a clip holder and set progressbar visibility. addChild(contentLoader); progressbar.visible = false; }"
Share a link to this course
Please wait... Please wait...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Creating a First Web Site with Flash Professional CS5.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked