1FlashanimationInthemodernteaching,thetraditionalteachinghasalreadycannotsatisfytherequirementofmodernteaching,theteachingwayandteachersetcareputforwardhigherrequest,sofortheFlashanimationcoursewaredevelopmenthasaveryimportantsignificance.Flashcannotonlymakethelearnerstodeepentheunderstandingoftheknowledge,improvethelearninginterestofthestudentsandteachers'teachingefficiency,alsocanaddvividartisticeffectcourseware,conducetotheacademicknowledgeexpressionandcommunication.Inordertoprovidestudentswithintuitiveexperimentalprocess,improvetheirlearningefficiencyandflashanimationintheteachingapplicationisnecessary.Thispapertomakeproteinsdialysisanimationasanexample,introducedsimplyhavestrongabilityanduniqueinteractiveFlash8.0,discusseshowtousetheFlash8.0makeproteindialysisexperimentalanimationwholeprocessandrelatedmatters.WhatisFlashFlashisanauthoringtoolthatletsdesignersanddeveloperscreatepresentations,applications,andothercontentthatenablesuserinteraction.Flashprojectscanincludesimpleanimations,videocontent,complexpresentations,applications,andeverythinginbetween.Ingeneral,individualpiecesofcontentmadewithFlasharecalledapplications,eventhoughtheymightonlybeabasicanimation.Youcanmakemedia-richFlashapplicationsbyincludingpictures,sound,video,andspecialeffects.FlashisextremelywellsuitedtocreatingcontentfordeliveryovertheInternetbecauseitsfilesareverysmall.Flashachievesthisthroughitsextensiveuseofvectorgraphics.Vectorgraphicsrequiresignificantlylessmemoryandstoragespacethanbitmapgraphicsbecausetheyarerepresentedbymathematicalformulasinsteadoflargedatasets.Bitmapgraphicsarelargerbecauseeachindividualpixelintheimagerequiresaseparatepieceofdatatorepresentit.TobuildanapplicationinFlash,youcreategraphicswiththeFlashdrawingtoolsandimportadditionalmediaelementsintoyourFlashdocument.Next,youdefinehowandwhenyouwanttouseeachofthoseelementstocreatetheapplicationyou2haveinmind.WhenyouauthorcontentinFlash,youworkinaFlashdocumentfile.Flashdocumentshavethefileextension.fla.AFlashdocumenthasfourmainparts:TheStageiswhereyourgraphics,video,buttons,andsoonappearduringplayback.TheTimelineiswhereyoutellFlashwhenyouwantthegraphicsandotherelementsofyourprojecttoappear.YoualsousetheTimelinetospecifythelayeringorderofgraphicsontheStage.Graphicsinhigherlayersappearontopofgraphicsinlowerlayers.TheLibrarypaneliswhereFlashdisplaysalistofthemediaelementsinyourFlashdocument.ActionScriptcodeallowsyoutoaddinteractivitytothemediaelementsinyourdocument.Forexample,youcanaddcodethatcausesabuttontodisplayanewimagewhentheuserclicksit.YoucanalsouseActionScripttoaddlogictoyourapplications.Logicenablesyourapplicationtobehaveindifferentwaysdependingontheuser’sactionsorotherconditions.FlashincludestwoversionsofActionScript,eachsuitedtoanauthor’sspecificneeds.FormoreinformationaboutwritingActionScript,seeLearningActionScript2.0inFlashintheHelppanel.Flashincludesmanyfeaturesthatmakeitpowerfulbuteasytouse,suchasprebuiltdrag-and-dropuserinterfacecomponents,built-inbehaviorsthatletyoueasilyaddActionScripttoyourdocument,andspecialeffectsthatyoucanaddtomediaobjects.WhenyouhavefinishedauthoringyourFlashdocument,youpublishitusingtheFilePublishcommand.Thiscreatesacompressedversionofyourfilewiththeextension.swf.YoucanthenplaytheSWFfileinawebbrowserorasastand-aloneapplicationusingFlashPlayer.WhatyoucandowithFlashWiththewidearrayoffeaturesinFlash,youcancreatemanytypesofapplications.ThefollowingaresomeexamplesofthekindsofapplicationsFlashiscapableofgenerating:3AnimationsTheseincludebannerads,onlinegreetingcards,cartoons,andsoon.ManyothertypesofFlashapplicationsincludeanimationelementsaswell.GamesManygamesarebuiltwithFlash.GamesusuallycombinetheanimationcapabilitiesofFlashwiththelogiccapabilitiesofActionScript.UserinterfacesManywebsitedesignersuseFlashtodesignuserinterfaces.Theseincludesimplenavigationbarsaswellasmuchmorecomplexinterfaces.FlexiblemessagingareasTheseareareasinwebpagesthatdesignersusefordisplayinginformationthatmaychangeovertime.Aflexiblemessagingarea(FMA)onarestaurantwebsitemightdisplayinformationabouteachday’smenuspecials.RichInternetapplicationsTheseincludeawidespectrumofapplicationsthatprovidearichuserinterfacefordisplayingandmanipulatingremotelystoreddataovertheInternet.ArichInternetapplicationcouldbeacalendarapplication,aprice-findingapplication,ashoppingcatalog,aneducationandtestingapplication,oranyotherapplicationthatpresentsremotedatawithagraphicallyrichinterface.Dependingonyourprojectandyourworkingstyle,youmayusethesestepsinadifferentorder.AsyoubecomefamiliarwithFlashanditsworkflows,youwilldiscoverastyleofworkingthatsuitsyoubest.AboutActionScriptandeventsInMacromediaFlashBasic8andMacromediaFlashProfessional8,ActionScriptcodeisexecutedwhenaneventoccurs:forexample,whenamovieclipisloaded,whenakeyframeontheTimelineisentered,orwhentheuserclicksabutton.Eventscanbetriggeredeitherbytheuserorbythesystem.Usersclickmousebuttonsandpresskeys;thesystemtriggerseventswhenspecificconditionsaremetorprocessescompleted(themovieloads,theTimelinereachesacertainframe,agra