Action Scripting Basics: Ntxig Qhov Yooj Yim Nres

Cov txheej txheem:

Action Scripting Basics: Ntxig Qhov Yooj Yim Nres
Action Scripting Basics: Ntxig Qhov Yooj Yim Nres
Anonim

Qhov kev hais kom nres yog qhov feem ntau yog qhov yooj yim tshaj plaws ntawm txhua qhov kev txiav txim sau ntawv, thiab qhov tseem ceeb tshaj plaws. Kev nres yog ib qho kev qhia hauv ActionScript program lus uas qhia koj cov yeeb yaj kiab Flash kom ncua ntawm ib lub thav duab, tsis yog txuas ntxiv mus rau qhov kawg ntawm cov animation lossis kev caij tsheb kauj vab tsis kawg.

Lub Hom Phiaj Ntawm Kev Txiav Txim Siab

Image
Image

Nres cov lus txib yog qhov tseem ceeb tshwj xeeb yog tias koj tab tom ua si ib qho animation ua ntej ncua mus tos tus neeg siv cov lus teb; koj yuav ntxig cov lus txib nres thaum kawg ntawm cov animation, ib zaug cov kev xaiv rau tus neeg siv tau tso tawm. Qhov no tiv thaiv cov animation ntawm hla dhau cov kev xaiv yam tsis tau muab sijhawm rau tus neeg siv xaiv ib qho.

Accessing ActionScripts

Image
Image

Thaum ActionScripting yog hom lus programming, Flash lub tsev qiv ntawv tso cai rau koj "sau" ua hom lus yam tsis tau ntaus tus lej ntawm koj tus kheej. Txhawm rau tso qhov nres ntawm txhua qhov chaw hauv koj cov animation, tsuas yog ua raws cov kauj ruam no:

  • Tsim ib txheej tshiab. Sau npe nws Actions, thiab ntxig ib qho keyframe rau ntawm tus ncej uas koj xav kom koj cov yeeb yaj kiab Flash nres.
  • Right-click ntawm keyframe thiab xaiv Actions. Qhov yooj yim version ntawm ActionScript lub tsev qiv ntawv thiab interface yuav tshwm sim, nrog lub qhov rai uas tso cai rau koj saib txhua qhov kev ua tam sim no siv rau tus ncej nrog rau cov npe nthuav dav ntawm pawg ntawv.
  • Nyem rau ntawm Actions qeb kom nthuav nws, thiab tom qab ntawd Movie Controls subcategory los qhia cov npe ntawm cov lus txib.
  • Txhawm rau ntxiv cov lus txib nres, ob npaug nyem rau ntawm cov npe rau stop lossis lwm tus nyem thiab rub nws mus rau hauv lub qhov rai uas qhia txog ActionScripting rau tus ncej ntawd. Koj tuaj yeem nyem lub pob "+" saum lub qhov rais ntxiv cov ntawv sau tshiab.

Thiab yog nws. Koj tau ntxiv cov lus txib nres uas yuav qhia rau koj cov yeeb yaj kiab kom nres ntawm tus ncej tshwj xeeb, thiab ua haujlwm nrog ActionScripting thawj zaug.

Pom zoo: