Friday, January 28, 2011

Drag and Drop Flash CS3 - VERSION 2

Step 1 - Draw an object * Anything you likeStep 2 - Transform it into a Movie Clip * Select the object (or if you created several objects for a drawing select them all) * Right-click on the object and create a movie symbol * Give the instance a name in the properties panel !Step 3 - Adapt code belowDragging code is really simple and follows the same principles we encountered for example in the Flash button tutorial. * Associate an event listener with an event handler function. This time we listen to "mouse down" and "mouse up" events and for each we need to write a function that will do the dragging.// Register mouse event functionsblue_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);blue_btn.addEventListener(MouseEvent.MOUSE_UP, mouseUpHandler);red_btn.addEventListener(MouseEvent.MOUSE_DOWN,...

Thursday, January 20, 2011

Frame By Frame Animation

Langkah-langkah untuk mencipta animasi bingkai demi bingkai atau disebut sebagai frame by frame animation.Persediaan: Cipta atau dapatkan satu set imej pergerakan animasi. Untuk tujuan ini saya perlu mencari imej menerusi fungsi Google Search:Web Images Maps News Translate Books Gmail more ▼Saya klik pada Images, dan di ruang carian, saya taip: motion imageHasilnya saya menemui satu set mej seperti di bawah:Motion Image - Horse RiderAnda boleh lukiskan gambar latar belakang atau anda boleh memasukkan gambar apapun dengan mengklik File> Import> Import toStage.Masukkan symbol dengan mengklik Insert> New Symbol. Pilih klip video dan klik OK.Anda akan melihat Scene baru bernama 'Symbol 1'Import set gambar yang menunjukkan gerakan dengan...

Pages 41234 »
 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | belt buckles