Procedure |
|
prepping for the exercise
- download starter files, examine files
- launch Flash, file > new: actionscript 2.0
- file > import "portfolio.ai" (all layers, set stage to match artboard)
- save as "portfolio.fla"
- delete uneeded layers
- rename "scene 1" as "master"
- duplicate "master" scene, rename "master2"
- delete "pix" and "portfolio" layers
- window > swatches: clear colors, add custom colors to swatches
making navigation links
- select "portfolio" type, convert to button symbol "link1" (F8)
- edit button on stage (double-click symbol)
- add keyframe to "over" state (F6), change color
- add keyframe to "down" and "hit" states (F6)
- add box to "hit" state
- return to "master2" scene
- window > actions: goto scene "portfolio" (script assist=on)
- repeat with other links
- logo layer: draw box for "hit" state, convert to button symbol "buttonBlank" (F8)
- edit button: drag art to "hit" state
- window > actions: goto scene "intro"
animating "master2" scene
- new layer "actions": insert blank keyframe on frame 20 (F7)
- window > actions: stop
- new layer "fade": insert blank keyframe on frame 10 (F7)
- draw white box, convert to graphic symbol "box" (F8)
- insert keyframe on frame 20 (F6), tween
- select "box" on frame 20: alpha=0
- new layer "wipe": drag "box" symbol from library to stage
- color=tint (blue)
- insert keyframe on frame 13 (F6), tween
- move bullet art to frame 7
- move text to fram 10
- frame 20: insert frames (F5)
- test movie (cmd+RETURN)
making text scenes
- duplicate "master2" scene, rename "resume"
- break apart link (cmd+B), move bullet art
- repeat with "portfolio", "philosophy", "personal" and "contact" scenes
- change heads to match links
- go to "resume" scene
- select text, convert to movie clip symbol "resumeContent"
(advanced: export for actionScript=yes, export in first frame=yes)
- edit symbol: add text, add PDF link (blank button); return to "resume" scene
- delete "resumeContent" symbol from stage
- window > components: drag srollPane to stage (w=490, h=470, instance name="resume")
- window > properties > parameters: contentPath=resumeContent, hScrollPolicy=off
- go to "actions" layer, frame 10: add blank keyframe (F7)
- add the following actionscript to frame 10:
resume.setStyle("borderStyle","none");
- reference: www.ultrashock.com/tutorials/flashmx2004/skinning.php
- test movie (cmd+RETURN)
- troubleshoot scrolling error: add white period
making "portfolio" scene
- go to "portfolio" scene
- delete text frame
- copy portfolio art from "master" scene into "portfolio" scene
- convert portfolio art to movie clip symbol "portfolio"
- file > import to library: all art from "portfolio" folder
- edit "portfolio" symbol on stage
- rename "layer1" as "menu"
- delete FPO art
- new layer "art", insert 11 blank keyframes
- draw horizontal guide
- drag imported art to stage, reposition
- new layer "stop": add 11 stop actions
- new layer "buttons": drag "buttonBlank" to stage, scale, reposition
- window > actions: goto and stop (frame 1)
- duplicate "buttonBlank", reposition, change actionscript
- new layer "numbers": copy numbers from "menu" layer
- change color to dark blue; insert 11 keyframes
- delete unneeded numbers on each keyframe
- go to "menu" layer: convert left triangle to button symbol "left"
- window > actions: goto and stop (previous frame)
- repeat with right triangle
- insert keyframes on 2, 11
- modify actionscript on frame 1, 11
- return to "portfolio" scene
- test movie (cmd+RETURN)
animating the "intro" scene
- duplicate "portfolio" scene, rename "intro"
- modify stop action to: goto "portfolio" scene
- delete unneeded layers, delete unneeded art
- animate art from frames 5 to 75
- window > scenes: restack sequence
- test movie (cmd+RETURN)
publishing
- file > publish settings, format (.swf & .html), flash
(version 8, no loop); publish
- duplicate "portfolio.html", rename "index.html"
- modify "index.html" in dreamweaver: wrap <div#center> around flash object (position=absolute, L=50%, T=0px, margin-left=-700px)
- modify <body>: margins=0
- change title to "Jane Smith Graphic Design"
- test menu in browser (drag and drop .html file onto browser
icon)
- link HTML file from your projects page and publish
|