Animasi Next dan Preview Gambar

1. Buka program Adobe Flash ( pilih Action Script 2.0 )
2. Pada Layer 1, Frame 1 > import gambar (Ctrl + R), kemudian tekan f6 pada Frame 2 > import gambar (ctrl +R) sampe Frame 6 ( pada setiap frame tekan f6 atau insert keyframe)



3. Insert new layer ( layer 2 ) >> pilih rectangle tool >> jadikan button dengan menekan f8 dan pilih button >> buatlah 2 button ( Preview dan Next )


4. Klik pada button Preview >> tekan f9 > kemudian isikan script seperti berikut >>
on(press) {
 prevFrame();
}

http://www.blogger.com/img/blank.gif
5. Klik pada Button Next >> tekan f9 > kemudian isikan script seperti berikut >>
on(press) {
 nextFrame();
}


6. Pada layer2 >> klik frame1 >> tekan f9 >> isikan script >> stop();
7. Jalankan animasi dengan menekan Ctrl + Enter
Share on Google Plus

About Unknown

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 komentar:

Posting Komentar