 |
Procedure
|

|
prepping for the exercise
- view finished flash site
- download starter files
- examine "inside.psd"
- create template JPG
- examine extra photos & text
- examine "links.txt"
laying out master scene in flash
- launch Flash; modify > document: 720 x 390; save
as "main.fla"
- window > panel sets > default layout
- file > import to library: all pictures (organize with folders)
- drag template to stage, layout master scene (position without
fractions)
- split into layers (left, right, sublinks, links)
- create symbols (match JPG file names)
- new layer "logo": create type (futura condensed);
convert to symbols
- draw box, match
color, convert to symbol; dupe box, alpha=40%
- delete "template" layer
- duplicate "scene 1", rename "intro"
create the main links rollover effects
- create button symbol "link1-button"; edit symbol
(double-click)
- copy keyframe to over state (F6)
- convert over state picture to symbol (movie clip) "link1-over" (F8)
- edit "link1-over" symbol on stage (double-click)
- create 15 frame sequence (F5)
- add new layer "black", draw black box, convert to symbol (F8)
- tween between frame 1 and 10, frame 1 alpha=0, frame 10 alpha=50
- add new layer "type", add appropriate type (futura
condensed 14pt)
- convert type to symbol "link1-type" (F8)
- tween between frame 5 and 15, make frame 5 alpha=0
- new layer "action", add stop action on frame 15
- return to "link1-button"
- copy keyframe to down state (F6)
- in properties: change behavior to "graphic", single frame,
15
- insert blank keyframe on hit state (F7)
- drag "black" symbol from library to stage, position, resize
- return to scene 1
- new layer "action", add stop action on frame 10 (F7)
- extend art to frame 10
- test movie (cmd+RETURN)
- repeat with other "link" symbols
creating new scenes
- window > scene: rename "scene 1" as "master"
- duplicate "master", rename "1-food" etc
- assign actions to buttons
- copy buttons to clipboard, paste in position in all scenes
creating sublinks
- go to "1-food" scene
- new layer "actions": add stop actions on frame 10, 20, 30,
40
- new layer "labels": blank key frame on 11, label "fine", repeat
- library: duplicate "church" symbol, rename "sublink-food",
swap symbols on stage
- edit "sublink-food" symbol (double-click)
- new layer "type": add sublink text (14 px futura condensed,
+20 line spacing, white, centered); convert to symbol "sublink-food-type"
(F8)
- type changes from alpha=0 to 100% between frame
1 and 5
- new layer "black": draw black box, convert to symbol "black"
- black changes from alpha=0 to 50% between frame 6 and 10
- return to "1-food" scene
- extend "sublink-food" symbol to frame 40 (F5), play once
- new layer "buttons"
- draw black box over "food", convert to symbol "button" (F8),
edit
- drag box to hit state (all other states are blank), return
to "1-food" scene
- assign action to button: go to "food" scene, label "fine"
- duplicate button (opt-shift-drag), edit action, repeat
- test movie (cmd+RETURN)
linking to dynamic text
- new layer "text": go to frame 11, add blank keyframe
(F7)
- text tool: dynamic text, instance name="food-fine",
multiline, render text as HTML (font will be overriden, but line
spacing will stick)
- variable=content
- frame actions: browser/network > loadVariables "text/food-fine.txt"
- draw triangles for scrolling buttons (on new layer), make symbols
- botton actions: objects > movie > textField > properties "content.scroll
= content.scroll -1" (scrolls up one line at a time);
repeat with down button
create intro
- duplicate "master" scene, , rename "intro"
- animate intro (start with vector)
- file > publish preview > flash
- view bandwidth profiler; adjust
publish movie
- file > publish settings, format (.swf & .html), flash
(version 6, no loop); publish
- modify "main.html" in dreamweaver, margins=0
- create sniffer
- create "index.html"
- test site in browser, resize browser
- submit the FLA file with your name on it and drop it in classes > students
for grading
|