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

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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








Similarities Between Actionscript 1.0 and 2.0


Okay, up to this point we've only talked about everything that's different between the two versions of ActionScript. But what about them is the same? What hard-earned knowledge of ActionScript 1.0 that you currently have is still applicable to ActionScript 2.0? Fortunately, plenty!

You still control movie clips with this syntax:


myMovieClip_mc.gotoAndPlay(15);

You still create conditional statements the same way:


if (myNumber1 + myNumber2 == 20 && enabled != true){
//actions;
}

or looping statements this way:


for (i = 0; i <= myVariable; ++i){
//actions;
}

Expressions are still created the same way:


myVariable = (myNumber1 / 2) + (myNumber2 + 15);

And scripts can still be assigned to button and movie clip instances using the on() and onClipEvent() event handlers.


/ 183