New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

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

Creating a First Web Site with Flash Professional CS5
Illustration by
Watching:

Formatting text using the Text Layout Framework


From:

Creating a First Web Site with Flash Professional CS5

with Paul Trani

Video: Formatting text using the Text Layout Framework

TLF Text gives you more flexibility when using text in Flash. And that's why I'm going to use it over what is now known as Classic Text. So the first thing I'm going to do is expand out the Timeline panel and I'm going to turn off all those other content layers. And just turn on this about content layer and the about bkgd because I want to focus on the text in here. As you can see, there is this large chunk of body copy. That's actually inside of the about movie clip.

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

Formatting text using the Text Layout Framework

TLF Text gives you more flexibility when using text in Flash. And that's why I'm going to use it over what is now known as Classic Text. So the first thing I'm going to do is expand out the Timeline panel and I'm going to turn off all those other content layers. And just turn on this about content layer and the about bkgd because I want to focus on the text in here. As you can see, there is this large chunk of body copy. That's actually inside of the about movie clip.

I'll just double-click it. Now, I'm inside of this about movie clip, and I can hold down the Spacebar and kind of reposition my Stage. And really this is a lot of text. And quite frankly I want to do a couple of things. I want to lay it out better and I also want to in particular I want to take this and just to sort of put in a link right here. Link out to this school. And I can do that quite easily just by highlighting it. And notice as I go over to my Properties panel, I'm using TLF Text already, because I've imported this text from Photoshop as editable.

So TLF Text is selected. Notice how I can make it Read Only or Selectable or Editable. This is just going to be a Read Only. Again, the user doesn't need to really select it, so I'll just change that to Read Only. And then I'm given all of these various options on my text right in here. So plenty of options for Character and even Advanced Character attributes I can edit. So again for this, I'm going to go ahead and link out to www.risd.edu just like that.

Hit Enter. And notice how it turns it blue and then gives it an underline so it clearly differentiates it from the rest of the contents. The target it is going to be blank because I want to open up in a new window. And I encourage you to, kind of peruse the other options in here. There is a lot it can do, but what I want to focus on next is the flow of this content because I want to sort of stretch out this text box. And I'll do that just by grabbing that left edge, stretching it out, and let's just grab the button and kind of scrunch it up like that and kind of adjust this accordingly so it's fits sort of over the TV.

And in general, I would never really have text this long. From a design perspective, it's too long of lines is what it creates. I'd love to make this two columns. And that's what I want to do. So over here under Container And Flow, so let me just twirl those all up. Container And Flow gives me the ability to change the columns. So I'll change this to 2 columns, and you can see it changed to two columns. And I can just grab that border, kind of scrunch it up like that, and make sure this flows a little better kind of like that.

All right, so the next thing I want to do is I want this content to sort of reflow. Again it's all trapped in this box. I want it to reflow into another text box beneath it. So I'll just click this plus sign and when I do that it loads all of that text into my cursor if you will. And then I can click and drag to make a new text box just like that. So now this content flows one into the next. So if I decide for instance to get rid of a paragraph, I can do that and all the text reflows accordingly.

So it makes it real easy to work with, especially sort of large body text as well. So I'm going to select my Selection tool sort of move this up and just do some fine-tuning. In general that's looks pretty darn good like that. So with this set you can easily see that it really gives you flexibility to lay out you text easier, and it gives you that fine-tuning that you need when it comes to text in Flash.

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

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

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.

join now 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
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.

Are you sure you want to delete this note?

No

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
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.