Here is the intro of "Flash Professional 8 Beyond the Basics" , you can download the course and also the project used in the course from www.verycd.com for FREE.
After learning this course, you can make a flash site like this one:www.lynda.com/intflash8/laeyeworks
1.Stuff I Learned:
●The site construction process
What is the Site Construction Process
1.Content and Target Audience
-What is the content?
-Who is the target audience?
2.Layout and Design
-Flowchart
-Storyboard
-Static mockups
-Design
3.Development and Implementation
-Lay out the navigation
-Design and implement the main and tertiary content
-Create navigation interactivity
4.Deployment/Upload Testing
●Shortcut Key
Ctrl+Alt+N Create a New document as the type you chosed last time
Ctrl+J Stage Property Panel
Ctrl+R Import to stage
Ctrl+Shift+W Open Auto Newline in Action Panel
Ctrl+J edit the BODY style in Dreamweaver
●Difference between files import to flash
1.Firework PNG&SWF file: When imported to Flash,Text in SWF file would be a group, as PNG are not;
2.Freehand SWF file: Text in SWF file lose the Bold&Italic effect.
3.Illustrator AI file: Text incompatible;
Illustrator EPS file: Text in disorder,and color turn ligter;
Illustrator PDF file: Text incompatible, and color seems a little dark;
Illustrator SWF file: Wrong font-family, lose font effect;Best compatible Illustrator format
All these Illustrator files add a extra mask layer ,when imported to Flash.
4.Photoshop PSD file: Just an image. All elements are uneditable.
5.ImageReady SWF file: Just lose the Italic effect of the text.
2.Here is the AS in about_us.fla just for reference
// ——————<load css>—————— \\
var cssStyles:TextField.StyleSheet = new TextField.StyleSheet();
cssStyles.load("styles/styles.css");
cssStyles.onLoad = function (success:Boolean) {
if (success) {
loadedInfo.styleSheet = cssStyles;
_level0.myLV.load("vars/ourHistory.txt");
} else {
loadedInfo.text = "There has been an error loading requestde infomation.Please contact the Webmaster and report your error.";
}
}
// ——————</load css>—————— \\
// ——————<scroll buttons>—————— \\
this.scrollDown.onPress = function() {
scrollDirection = "down";
scrollText();
}
this.scrollUp.onPress = function() {
scrollDirection = "up";
scrollText();
}
this.scrollUp.onRelease = function() {
delete _root.onEnterFrame;
}
this.scrollDown.onRelease = function() {
delete _root.onEnterFrame;
}
function scrollText() {
_root.onEnterFrame = function() {
if (scrollDirection == "up") {
loadedInfo.scroll -= 1;
} else if (scrollDirection == "down") {
loadedInfo.scroll += 1;
}
}
}
// ——————</scroll buttons>—————— \\
// set the alignment of the submenu options to autoSize right
this.ourHistoryMC.ourHistory.autoSize = "right";
this.ourStaffMC.ourStaff.autoSize = "right";
// create TextFormat object that define the states of the submenu options
var btnDisable:TextFormat = new TextFormat("Bitstream Vera Sans", 12, null, true, true) ;
var btnEnable:TextFormat = new TextFormat("Bitstream Vera Sans", 11, null, false, true);
// disable the submenu option that corresponds to the currently loaded section
this.ourHistoryMC.ourHistory.setTextFormat(btnDisable);
this.ourHistoryMC.enabled = false;
// ——————<our history option>—————— \\
this.ourHistoryMC.onRollOver = function() {
this.ourHistory.setTextFormat(btnDisable);
}
this.ourHistoryMC.onRollOut = function() {
this.ourHistory.setTextFormat(btnEnable);
}
this.ourHistoryMC.onRelease = function() {
_level0.myLV.load("vars/ourHistory.txt");
this.ourHistory.setTextFormat(btnDisable);
this.enabled = false;
ourStaffMC.enabled = true;
ourStaffMC.ourStaff.setTextFormat(btnEnable);
}
// ——————</our history option>—————— \\
// ——————<our staff option>—————— \\
this.ourStaffMC.onRollOver = function() {
this.ourStaff.setTextFormat(btnDisable);
}
this.ourStaffMC.onRollOut = function() {
this.ourStaff.setTextFormat(btnEnable);
}
this.ourStaffMC.onRelease = function() {
_level0.myLV.load("vars/ourStaff.txt");
this.ourStaff.setTextFormat(btnDisable);
this.enabled = false;
ourHistoryMC.enabled = true;
ourHistoryMC.ourHistory.setTextFormat(btnEnable);
}
// ——————</our staff option>—————— \\
3.Problem I Met:
● When link a new Font created in
Share Library, I could not check the third check box "Export in first frame" in the Linkage Properties, or the Flash8 process would break
down when publish the fla file.
●_global.style.setStyle("embedFonts", true); If I add this sentence, the InputField turn to be disable.
●Could not add a mask layer above a dynamic TextField, or it doesn't work out.
If you know how to settle up these problems, please contact me and let me know, thanks~