This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

Sabtu, 06 Februari 2016

Membuat tombol Berbunyi A I U E O

                      Membuat tombol Berbunyi A I U E O


1. Buka dulu Macromedia flashnya
 



2. buat tiga layer dan beri nama action, tombol dan background




3. setelah itu beri background warna kuning dan buat kotak sebanyak lima buah dan warnai
   sesuai yang agan ingin.






4. kemudian klik kanan pada satu buat object kotak lalu pilih convert to symbol
   setelah itu beri nama kotaknya "A" karena untuk suara "A".



5. klik dua kali pada object kotak maka akan masuk di halaman scane 1
6. pada halaman scane 1 buat dua layer dan beri nama background dan tombol




7. pada layer tombol masukkan text "A" lalu insert frame sedangkan pada background insert
   key frame, pada frame ke dua berii warna berbeda selesai.




8. Nah tombol sudah di buat sekarang kita duplicate tombol yang kita buat dengan cara
     klik kanan pada object lalu pilih duplicate symbol sebanyak 4 dan berinama I,U,E,O setiap satu 
     tombol atau seperti gambar




9. setelah itu drag and drop dan letakakan sesuai keinginan




10.setelah tersusun klik tombol "A" dan ubah nama button nya menjadi "btn_a" begitu
     juga dengan tombol lain, hal ini bertujuan untuk memudahkan kita pada saat penyusunan script




11.setelah semuanya selesai kita mulai pada tahap memasukan suaa sound klik pada menu file + import + import to library setelah itu pilih suara dan open maka akan tampil di bar bagian kanan.




12. jangan lupa pada suara A I U E O di ganti namanya dengan cara klik kanan pada suara A I U E O lalu pilih linkpage setelah itu cheklis tulisan Export for actionscript lalu ganti nama suara dengan nama vokal_a dan seterusnya sesuai suara tersebut.




13. Kita masukkan masukkan script pada layer action
    berikut scriptnya
var voc_a:Sound=new Sound();
var voc_i:Sound=new Sound();
var voc_u:Sound=new Sound();
var voc_e:Sound=new Sound();
var voc_o:Sound=new Sound();

voc_a.attachSound("vokal_a");
voc_i.attachSound("vokal_i");
voc_u.attachSound("vokal_u");
voc_e.attachSound("vokal_e");
voc_o.attachSound("vokal_o");

btn_a.onRelease=function()
{
    voc_a.start();
}

btn_i.onRelease=function()
{
    voc_i.start();
}

btn_u.onRelease=function()
{
    voc_u.start();
}

btn_e.onRelease=function()
{
    voc_e.start();
}

btn_o.onRelease=function()
{
    voc_o.start();
}

                                                                 

                                                           setelah itu ctrl + enter


                                                                  
                                                                     ~GOOD LUCK~
Diberdayakan oleh Blogger.