Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
import flash.events.KeyboardEvent;
stage.addEventListener(KeyboardEvent.KEY_DOWN,yaz);
function yaz(event:KeyboardEvent)// if yoluyla kutuyu sağa sola yukarı aşağı yön vermesi için kullanılır//
{
if(event.keyCode==Keyboard.UP)
{
deneme1.y-=10;
}
if(event.keyCode==Keyboard.DOWN)
{
deneme1.y+=10;
}
if(event.keyCode==Keyboard.LEFT)
{
deneme1.x-=10;
}
if(event.keyCode==Keyboard.RIGHT)
{
deneme1.x+=10;
}
//switch yoluyla kutuyu sağa sola yukarı aşağı yön vermesi için kullanılır//
switch(event.keyCode)
{
case Keyboard.W:deneme1.y-=10;break;
case Keyboard.S:deneme1.y+=10;break;
case Keyboard.A:deneme1.x-=10;break;
case Keyboard.D:deneme1.x+=10;break;
}
//kutuyu yuvarlayıp sağa sola döndürme kodu //
import flash.events.KeyboardEvent;
stage.addEventListener(KeyboardEvent.KEY_DOWN,yaz);
function yaz(event:KeyboardEvent)
{
switch(event.keyCode)
{
case Keyboard.RIGHT:deneme1.x+=5;deneme1.rotation+=5;break;
case Keyboard.LEFT:deneme1.x-=5;deneme1.rotation-=5;break;
}
}
-----------------------------------------------------------------------------------
Tarih : 14.03.2019 Perşembe
// Nesneyi başlatıldığı zaman bulunduğu kare hızında çalışmasını sağlayan kod//
import flash.events.KeyboardEvent;
stage.addEventListener(Event.ENTER_FRAME,a);
function a(event:Event)
{
hamsi.rotation +=5;
}
// Kutuya başla ve durdur kutucukları oluşturulup başlaya basıldımı dönmesi dur basıldımı durması sağlanması lazım// 3 tane kutu oluşturulcak film kilibi yapılacak
import flash.events.KeyboardEvent;
import flash.events.Event;
function basla(event:Event)
{
ham.rotation +=5;
}
git.addEventListener(MouseEvent.CLICK,git1);
function git1(event:MouseEvent)
{
stage.addEventListener(Event.ENTER_FRAME,basla);
}
dur.addEventListener(MouseEvent.CLICK,dur1);
function dur1(event:MouseEvent)
{
stage.removeEventListener(Event.ENTER_FRAME,basla);
}
-----------------------------------------------------------------------------------------
Tarih : 21.03.2019
// 5 katman oluşturulması lazım katmanlara isim vermemiz gerekiyor ( 1 katman navi olacak , 2 s1 katmanı 5, 3 s2 katmanı 10, 4 s3 katmanı 15, 5 s4 katmanı 20) karelere getirilerek f6 ya basmamız gerekecek en sonunda navi katmanını 20 kareye getirmemiz lazım f6 ya basmamız lazım her katmana farklı şeyler yapabiliriz sonra renkli kutular oluşturularak f8 basarak düğme yapmamız lazım hepsini sonradan da isimlerini değiştirmemiz lazım /////
import flash.events.MouseEvent;
stop();
a1.addEventListener(MouseEvent.CLICK,s1);
function s1 (event:MouseEvent)
{
gotoAndStop(5);
}
a2.addEventListener(MouseEvent.CLICK,s2);
function s2 (event:MouseEvent)
{
gotoAndStop(10);
}
a3.addEventListener(MouseEvent.CLICK,s3);
function s3 (event:MouseEvent)
{
gotoAndStop(15);
}
a4.addEventListener(MouseEvent.CLICK,s4);
function s4 (event:MouseEvent)
{
gotoAndStop(20);
}
///kutu oluşturulup isim vermemiz gerek f8 ile film klibi yapmamız lazım aşağıdaki kodlarda kutuya tıklanıldımı yerinden oynamaya başlar bırakıldımı da durur///
import flash.events.MouseEvent;
stop();
deneme1.addEventListener(MouseEvent.MOUSE_DOWN,yuru);
function yuru(event:MouseEvent)
{
deneme1.startDrag();
}
deneme1.addEventListener(MouseEvent.MOUSE_UP,kutu1);
function kutu1(event:MouseEvent)
{
deneme1.stopDrag();
}
import flash.events.MouseEvent;
import flash.events.Event;
deneme1.addEventListener((MouseEvent.CLICK,donsun);
function donsun(event:MouseEvent)
{
deneme1.addEventListener(Event.ENTER_FRAME,doner);
}
deneme14.addEventListener((MouseEvent.RIGHT_MOUSE_DOWN,donmesun);
function donmesun(event:MouseEvent)
{
deneme14.addEventListener(Event.ENTER_FRAME,doner);
}
function doner(event:Event)
{
deneme14.rotation+=10;
}
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team