/Users/andrea/_magisterarbeit/korpus/clean/trainkorpus/32/file15.html NN ----------------------------------------- : DS NP Home NP . SENT Dev NP Shed NP ASP NN Free NP Dev NP Articles NNS Scripts NNS Dev NP Hardware NN Dev NP Archives NPS SEO NP Chat VV Dev NP Mechanic NP Web NP Hosting VVG Flash NP Home NP Flash NP Flash NP Hack NP A NP Custom NP Color NP Transform VV Class NN ADO NN . SENT NET JJ Apache NP ASP NN ASP NN . SENT NET JJ C NP C NP ColdFusion NP COM NN COM NN Delphi NP Kylix NN Design NP Usability NN Development NP Cycles NNS DHTML NN Embedded VVN Tools NP Flash NP Graphic JJ Design NP HTML NP IIS NP Interviews NNS Java NP JavaScript NP MySQL NP Oracle NP Photoshop NP PHP NP Reviews VVZ SQL NP SQL NP Server NP Style NP Sheets NP VB NP . SENT Net JJ Visual NP Basic NP Web NP Authoring VVG Web NP Services NPS Web NP Standards NPS XML NP Developer NN Forums NNS Forums NNS Archive NP Get VV Daily JJ Updates NNS Plug VVP In IN PDF NP Mag NP . SENT Developer NN Updates NNS Free NP Website NP Content JJ Weekly NP Newsletter NN Web NP Hosting VVG ASP NN Web NP Hosting VVG ASP NN . SENT NET JJ Web NP Hosting VVG Budget NN Hosting VVG Coldfusion NP Colocation NP Dedicated VVD Servers NNS E NP Commerce NP Hosting VVG Linux NP Web NP Hosting VVG Managed VVN Hosting VVG Reseller JJR Web NP Hosting VVG Shared VVN Hosting VVG Small JJ Business NN Hosting VVG Virtual JJ Private JJ Servers NNS Windows NNS Web NP Hosting VVG Articles NNS . SENT Blogs NNS . SENT Forums NNS . SENT Blog NP History NN Article NP Discussion NN Games NP Hardware NN How WRB Tos NNS Law NP Microsoft NP Open NP Source NN Security NP SEO NP Software NP Technology NP News NP Web NP Hosting VVG Wow NN Past NP Technology NP News NP Apress NP Books NPS Write VVP For IN Us PP Get VVP Paid VVN Request NN Media NP Kit NP Contact NP Us NP Site NN Map NN Flash NP Flash NP Hack NP A NP Custom NP Color NP Transform VV Class NN Contributed VVN by IN O'Reilly NP Media NP Article NP Rating NN . SENT 6 CD 2004 JJ 10 CD 12 CD Poor NP Best NP Send VV Me PP Similar JJ Content NN When WRB Posted VVD Add VV Developer NN Shed NP Headlines NNS To TO Your PP$ Site NN DISCUSS VV NEWS NP SEND VV PRINT NN PDF NP Article NP Index NP . SENT Flash NP Hack NP A NP Custom NP Color NP Transform VV ClassCode NP Listing NN . SENT A DT Custom NP Transform VV ClassA NP Closer RBR Look VV at IN the DT CodeConstructor NP Function NN Transform VV Enhancing VVG the DT Custom NP ClassSearch NN For IN More JJR Articles NNS . SENT Author NN Terms NNS Flash NP Hack NP A NP Custom NP Color NP Transform VV Class NP Code NP Listing NN . SENT A DT Custom NP Transform VV Class NP Page NP 2 CD of IN 5 CD Although IN we PP can MD t NN give VV a DT full JJ course NN on IN OOP NP and CC ActionScript NP 2 CD . SENT 0 CD here RB , , this DT custom NN color NN transform VV class NN can MD be VB used VVN even RB if IN you PP don VV t NN understand VV OOP NP . SENT And CC we PP ll RB examine VVP several JJ aspects NNS of IN the DT code NN after IN the DT code NN listing NN . SENT Here RB is VBZ our PP$ object NN oriented JJ version NN , , implemented VVN as IN a DT custom NN Transform VV class NN , , which WDT must MD be VB stored VVN in IN an DT external JJ Transform VV . SENT as IN file NN . SENT This DT ActionScript JJ 2 CD . SENT 0 CD code NN must MD go VV in IN an DT external JJ Transform VV . SENT as IN fileclass NN Transform VV NEG NP TRANS NP inverts VVZ the DT color NN values NNS . SENT NEUTRAL JJ TRANS NP resets VVZ the DT color NN values NNS . SENT BLACK JJ TRANS NP sets VVZ the DT color NN values VVZ to TO black JJ . SENT WHITE JJ TRANS NP sets VVZ the DT color NN values VVZ to TO white JJ . SENT RATE NN sets VVZ the DT rate NN the DT effects NNS will MD run VV at IN in IN ms NN . SENT private JJ static JJ var NN NEG NP TRANS NP . SENT Object VV ra NP . SENT 100 CD , , rb NP . SENT 255 CD , , ga NP . SENT 100 CD , , gb NN . SENT 255 CD , , ba NP . SENT 100 CD , , bb NP . SENT 255 CD , , aa NN . SENT 100 CD , , ab NP . SENT 0 CD . SENT private JJ static JJ var NN NEUTRAL JJ TRANS NP . SENT Object VV ra NP . SENT 100 CD , , rb NP . SENT 0 CD , , ga NP . SENT 100 CD , , gb NN . SENT 0 CD , , ba NP . SENT 100 CD , , bb NP . SENT 0 CD , , aa NN . SENT 100 CD , , ab NP . SENT 0 CD . SENT private JJ static JJ var NN BLACK JJ TRANS NP . SENT Object VV ra NP . SENT 100 CD , , rb NP . SENT 255 CD , , ga NP . SENT 100 CD , , gb NN . SENT 255 CD , , ba NP . SENT 100 CD , , bb NP . SENT 255 CD , , aa NN . SENT 100 CD , , ab NP . SENT 0 CD . SENT private JJ static JJ var NN WHITE JJ TRANS NP . SENT Object VV ra NP . SENT 100 CD , , rb NP . SENT 255 CD , , ga NP . SENT 100 CD , , gb NN . SENT 255 CD , , ba NP . SENT 100 CD , , bb NP . SENT 255 CD , , aa NN . SENT 100 CD , , ab NP . SENT 0 CD . SENT private JJ static JJ var NN RATE NN . SENT Number NN 50 CD . SENT private JJ var NN interval NN . SENT Number NN . SENT private JJ var NN startTime NN . SENT Number NN . SENT private JJ var NN colorObj NN . SENT Color NN . SENT Constructor NN accepts VVZ target NN clip NN to IN which WDT to TO apply VV transformspublic JJ function NN Transform VV targetClip NN . SENT MovieClip NP colorObj NP new JJ Color NP targetClip NN . SENT Inverts VVZ the DT color JJ valuespublic JJ function NN invert NN duration NN . SENT Number NN . SENT Void JJ applyTransform NN NEG NP TRANS NP , , duration NN . SENT Resets VVZ the DT color NN to TO the DT default NN values NNS set VVN in IN the DT authoring VVG toolpublic JJ function NN reset NN duration NN . SENT Number NN . SENT Void JJ applyTransform NN NEUTRAL JJ TRANS NP , , duration NN . SENT Performs VVZ a DT fade VV to TO black JJ over IN specified JJ duration NN in IN mspublic JJ function NN fadeToBlack NN duration NN . SENT Number NN . SENT Void JJ applyTransform NN BLACK JJ TRANS NP , , duration NN . SENT Performs VVZ a DT fade VV to TO white JJ over IN specified JJ duration NN in IN mspublic JJ function NN fadeToWhite NN duration NN . SENT Number NN . SENT Void JJ applyTransform NN WHITE JJ TRANS NP , , duration NN . SENT Function NN to TO initiate VV a DT fade VV and CC set VV up RP an DT interval NN to TO complete VV it PP over IN time NN . SENT private JJ function NN applyTransform NN transObject NN . SENT Object NN , , duration NN . SENT Number NN . SENT Void JJ var NN getTrans NNS . SENT Object NN colorObj NN . SENT getTransform NN . SENT var NN diffTrans NNS . SENT Object VV new JJ Object NN . SENT startTime NN getTimer NN . SENT for IN var NN i NP in IN transObject NN diffTrans NNS i NP transObject NN i NP getTrans NP i NP duration NN RATE NN . SENT Use VV the DT form NN of IN setInterval NN that WDT invokes VVZ a DT method NN of IN an DT object NN , , so RB that IN instance NN properties NNS are VBP in IN scope NN the DT object NN is VBZ this DT . SENT First JJ parameter NN is VBZ the DT object NN this DT on IN which WDT to TO invoke VV the DT method NN specified VVN by IN the DT second JJ parameter NN in IN this DT case NN transition NN , , which WDT must MD be VB passed VVN as IN a DT string NN . SENT Third JJ parameter NN is VBZ interval NN duration NN in IN ms NN . SENT Fourth JJ , , fifth JJ , , and CC sixth JJ parameters NNS get VVP passed VVN to TO transition NN interval NN setInterval NN this DT , , transition NN , , RATE NP , , transObject NN , , diffTrans NNS , , duration NN . SENT This DT method NN applies VVZ each DT step NN of IN the DT color NN transformation NN . SENT private JJ function NN transition NN transObject NN . SENT Object NN , , diffTrans NNS . SENT Object NN , , duration NN . SENT Number NN . SENT Void JJ var NN getTrans NNS . SENT Object NN colorObj NN . SENT getTransform NN . SENT for IN var NN i NP in IN diffTrans NNS getTrans NNS i NP diffTrans NP i NP . SENT colorObj NP . SENT setTransform NN getTrans NNS . SENT if IN getTimer JJR startTime NN duration NN Complete JJ the DT final JJ step NN in IN the DT transition NN colorObj NN . SENT setTransform NN transObject NN . SENT Clear VV the DT interval NN to TO stop VV the DT effect NN clearInterval NN interval NN . SENT Force VV the DT screen NN to TO refresh VV between IN frames NNS updateAfterEvent NN . SENT public JJ function NN die NN . SENT Void VV Perform VV any DT cleanup NN code NN here RB Generated VVD in IN 0 CD . SENT 559330 CD sec NN . SENT