Wednesday, November 18, 2009

Aim: How to work with text and to animate it using Flash ?

"Text is an important part of the websites. Flash provides you a lot of the control on the text you are using in flash documents. In this tutorial, you will learn the basics of the Text in Flash. In the Adobe Flash CS3, there are three types of the text, static, dynamic and input text.

Static text is used in the Title and the Label, dynamic text is used for displaying the text that changes dynamically at the runtime and the input text are used for the user activity like getting the user name and password in the Flash form.

All these types of the text, there are multiple options like Font size, font style, colors, character width, height, maximum characters, character spacing, justification, drop shadow, blur, glow and drop shadow etc. In fact, Flash allows you to produce multiple text effects that are not possible with the HTML and CSS."


 you use ADOBE Help to understand the language of Flash you'll find this definition there:


The Timeline organizes and controls a document’s content over time in layers and frames. Like films, Flash documents divide lengths of time into framesLayers are like multiple film strips stacked on top of one another, each containing a different image that appears on the Stage. The major components of the Timeline are layers, frames, and the playhead.

Layers in a document are listed in a column on the left side of the Timeline. Frames contained in each layer appear in a row to the right of the layer name. The Timeline header at the top of the Timeline indicates frame numbers. The playhead indicates the current frame displayed on the Stage. As a document plays, the playhead moves from left to right through the Timeline.

The Timeline status displayed at the bottom of the Timeline indicates the selected frame number, the current frame rate, and the elapsed time to the current frame.
The playhead moves through the timeline as a document plays to indicate the current frame displayed on the Stage. The Timeline header shows the frame numbers of the animation. To display a frame on the Stage, move the playhead to the frame in the Timeline.

Tuesday, November 10, 2009

Monday, November 9, 2009

How to convert an embedded .SWF Button to a hyperlink?

Here is the code needed to make Flash SWF file hyperlink and embed into your HTML code!




Use it to make all your buttons in your site link within your site!

Friday, November 6, 2009

Aim : How to Embed Flash into a HTML code?


When you visit W3Schools.com You´ll find this tutorial on how to add Flash to a HTML site.

Flash Embedded in HTML



After creating a Flash movie you choose File > Save As from the top menu to save your movie. Save the file as "Somefilename.fla".



To embed the Flash movie you just made into an HTML page, you should go back to your Flash program and do the following steps:



Step 1

Choose File > Open. Open a Flash movie you have created.



Step 2

Choose File > Export Movie.



Step 3

Name the file "somefilename.swf". Choose the location where the file is to be stored (in your Web folder). Click OK.



Step 4

Open the HTML page where you want to insert your Flash movie. Insert this code:



(<)object width="550" height="400"(>)

(<)param name="movie" value="somefilename.swf"(>)

(<)embed src="somefilename.swf" width="550" height="400"(>)

(<)/embed(>)

(<)/object(>)




Note: This is the minimum code you need to embed a Flash movie in a browser. A broken icon will appear on the Web page if the user does not have the Flash plug-in installed.



Note: In the code above there is both an  tag and an (<)object(>) tag. This is because the

tag is recognized by Internet Explorer, and Netscape recognizes the (<)embed(>) tag and ignores the (<)object(>) tag.

Step 5

Type in the address of the HTML file in your browser and look at your first Flash movie.



Wednesday, November 4, 2009

AIM: What is a Symbol?

symbol is a graphic, button, or movie clip that you create once in the Flash authoring environment or by using the Button (AS 2.0), SimpleButton (AS 3.0), and MovieClip classes. You can then reuse the symbol throughout your document or in other documents.

A symbol can include artwork that you import from another application. Any symbol that you create automatically becomes part of the library for the current document.

An instance is a copy of a symbol located on the Stage or nested inside another symbol. An instance can be different from its symbol in color, size, and function. Editing the symbol updates all of its instances, but applying effects to an instance of a symbol updates only that instance.

HOMEWORK:

List all types of Flash Symbols