1 / 12

LINGO Scripting pada director

LINGO Scripting pada director. Control Movie / Video. File – New – Movie Setting di Property Inspector, Size misal = 800 x 600 Ambil Sebuah Video (AVI,MP4, MOV, dll) dan tempatkan pada cast member Drag Cast member tersebut ke Stage. Buat Tombol Kontrol Insert – Control - Pusbutton.

trudy
Download Presentation

LINGO Scripting pada director

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LINGOScripting pada director

  2. Control Movie / Video • File – New – Movie • Setting di Property Inspector, Size misal = 800 x 600 • Ambil Sebuah Video (AVI,MP4, MOV, dll) dan tempatkan pada cast member • Drag Cast member tersebut ke Stage

  3. Buat Tombol Kontrol • Insert – Control - Pusbutton

  4. Pada klik kanan tombol play , Script • Masukan script dibawah ini on mouseUp me the movierate of sprite 1=1 end Untuk tombol Stop , masukan script : on mouseUp me the movierate of sprite 1=0 end

  5. Script mengatur Sistem(Tanggal & Jam)

  6. Beri nama cast member tersebut , misal = tanggal • Pada channel Script, double klik di frame 1, masukan script berikut : on exitFrame me member (“nama cast member").text = _system.date() End • Untuk memasukan jam, masukan script : on exitFrame me member (“nama cast member").text = _system.time() End • Untuk membuat jam dan tanggal dengan format lengkap, masukan script : on exitFrame me set the text of member “nama cast member” to the long time&return& the long date End

  7. Fungsi Restart • Buat Tombol , dari tool panel, pilih push button, • Buat Tulisan “RESTART” • Pada tombol tersebut , klik kanan , pilih script, masukan script berikut on mouseUp me restart() End • Untuk membuat fungsi shutdown masukan script: on mouseUp me shutdown () End • Untuk membuat fungsi shutdown masukan script: goToNetPage http://alamat_web, “new”

More Related