1. Trang chủ
  2. » Công Nghệ Thông Tin

Tài liệu Similarities Between Actionscript 1.0 and 2.0 pptx

2 353 1
Tài liệu được quét OCR, nội dung có thể không chính xác
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Similarities Between ActionScript 1.0 and 2.0
Thể loại Presentation
Định dạng
Số trang 2
Dung lượng 8,24 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

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.. What hard-earned knowl

Trang 1

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:

myMovieChip_mc.gotoAndPlay(15);

You still create conditional statements the same way:

if (nyNumberl + myNumber2 == 20 && enabled != true){

//actions;

or looping statements this way:

for ( = 0; i <= myVariable; ++1){

//actions;

Expressions are still created the same way:

my Variable = (myNumber! / 2) + (myNumber2 + 15);

Trang 2

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

Ngày đăng: 26/01/2014, 11:20

TỪ KHÓA LIÊN QUAN