Macromedia Flash Mx 1002004 Actionscript Training From The Source [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Macromedia Flash Mx 1002004 Actionscript Training From The Source [Electronic resources] - نسخه متنی

Derek Franklin, Jobe Makar

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید








Lesson 9. Automating Scripts with Loops


We all have to perform repetitive tasks. Whether complicated or simple, a repetitive task requires performing at least one step in a process repeatedly. For example, if you were sending out 100 wedding invitations, repetitive tasks in that process could include folding papers, stuffing envelopes, sealing envelopes, and affixing stampsyou'd do each task 100 times. In ActionScript, performing a set of repeated steps (actions) multiple times is called looping. ActionScript lets you loop through a set of actions as many times as needed, which means that instead of writing an action (or set of actions) several times, you can write it once and loop through it any number of times. In this lesson, you'll learn how to use the three loop types that ActionScript offers.


The drop-down list as well as the two-by-two grid of pictures in this application will be created dynamically by using loops.

WHAT YOU WILL LEARN

In this lesson, you will:

Discover the usefulness of loops

Learn about the types of loops

Set loop conditions

Create a nested loop

Use loop exceptions


APPROXIMATE TIME

This lesson takes approximately 45 minutes to complete.

LESSON files

Starting Files:

Lesson09/Assets/pictureShow1.fla

Lesson09/Assets/phoneNumberSearch1.fla

Completed Projects:

pictureShow3.fla

phoneNumberSearch2.fla


/ 183