Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
Flash and ActionScript are ideal for creating flexible, easily updatable web sites that are both unique in design and small in file size. In Creating a Portfolio Web Site Using Flash CS4 Professional, Adobe Certified Instructor Paul Trani shows how to exploit Flash to create a web site that showcases work to clients and prospective employers. Find out how to add dynamic navigation, animation, and video to a page, and how to load, sort and display XML that enables portfolio content to be updated without opening Flash. This course is designed to take your existing tweening skills and gotoAndPlay code and walk away with a fully functional Flash site. Exercise files accompany the course.
Flash is very flexible, allowing you to not only at the video controls you want, but to also customize the look of the controls you add. So let's take a look at where this is at, currently. I'm going to double-click on this movie clip, because inside of this movie clip the Video Player copy movie clip, there is this FLVPlayback COMPONENT. In my PROPERTIES panel, with it selected, I can open up the COMPONENT INSPECTOR. So this is where I have been changing the Skin and each time I change the Skin and Publish out the file, it does generate one of these files.
So just be aware that that does happen. You do need these files if you're using the SkinOverPlayFullscreen.swf file, for instance. So quite frankly, I don't need either one of these. In fact, I will just go ahead and throw them away, because what I am going to do is I am going to click on the Skin, on the Magnifying Glass, and I'm not going to use any one of these Skins. But feel free to peruse them. They might interest you because there's a fair amount of variety in each one.
I'm just going to select None, because I want to integrate my own buttons. So with no Skin selected, I am going to select OK, and I am going to close the COMPONENT INSPECTOR, and as you can tell, the Skin is gone. Now, I am going to go to Window and open up my COMPONENTS panel, because in my COMPONENTS panel, under the Video section, there's a huge list of buttons that I can add. So now I can add buttons on a case-by-case basis. So the first thing I am going to do is I am going to create a new layer and I'm just going to call it video controls.
Now with that layer selected, I can start to drag out the buttons I want to use, say, for instance, this PlayPauseButton. The SeekBar I like a lot. I'll just drag that on, and the FullScreenButton is pretty nice, so I will just put that right down there. So notice how I can kind of position them in the place that I want, and I can do a Test Movie, and notice, without adding any code whatsoever, I can go ahead and use these buttons. (Video playing) I can scrub, I can even go full screen. This button would work as well, once I publish the HTML file.
But in general, everything works out great. I didn't have to add a line of code. That's very effective, but notice that I can even zoom in on these buttons and customize them further. So if I just double-click on this PlayPauseButton, notice how it shows me all of the states of these buttons. So the over state, when you rollover the button, the down state is when you click on it and then the inactive state. But notice if I just start double- clicking on this, I can really dig down to the specific elements that make up this button, and notice they're all movie clips.
So I'm already about four levels deep into this, and I have this area selected, and I can change the color if I want to. So I'll just change it to red, for instance, and it changes it that way. I'll click back out to VideoPlayer copy. Notice how it changes this button, as well as this one, because they share the same background. So you really have a lot of control when it comes to customizing your buttons, and what you could end up with is, potentially, another file, so I am going to go to File Open, and in the Assets folder, in design, I have this CustomVideoControls.fla. What you could end up with is a file like this.
Since you have spent all that time customizing your buttons, you could save a separate file and then just use this content. So right in here, there is those three buttons, and all I am going to do is copy this content. I am going to go back to my Video.fla, and I will delete them here, but even though I deleted them on the stage, if I open up my LIBRARY panel, notice they technically still exist. So when I go to paste in these other controls, it's asking me "Hey, do you want to replace the ones that are already in there, or do you not want to replace them?" Well, I want to replace the ones that are currently in my library, select OK.
Let me zoom out just by hitting Command+Minus, and I can move these buttons right into place, kind of like that. But notice how they do have this new look to them, and I can go to Control > Test Movie, and let's see if these buttons work. (Video playing) Yup! they work like a charm. I can scrub, and again, I can go full screen as soon as I Publish out the appropriate HTML page. So notice that Flash really gives you a lot of flexibility in adding the specific video buttons you want to add, as well as customizing their look.
Find answers to the most frequently asked questions about Creating a Portfolio Web Site Using Flash CS4 Professional.
Here are the FAQs that matched your search "":
Sorry, there are no matches for your search ""—to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
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.