arkadaşşar flash cs5de swf dosyasını yeni bir flash sahnesine import ediyorum kod yazdığımda kod çalışmıyor
yazdım kod bunlar:
stop();
button1.addEventListener(MouseEvent.CLICK,animasyon1);
button2.addEventListener(MouseEvent.CLICK,animasyon2);
function animasyon1 (event:MouseEvent):void
{
gotoAndPlay(2);
}
function animasyon2 (event:MouseEvent):void
{
gotoAndPlay(61);
}
böyle böyle 5 button oluşturup buttonlara animasyon tanımlayacağım her bi butona basıldığında yaptığım 5 animasyondan biri sahnede oynacak bilen varsa yardım lütfen :confused1:
yazdım kod bunlar:
stop();
button1.addEventListener(MouseEvent.CLICK,animasyon1);
button2.addEventListener(MouseEvent.CLICK,animasyon2);
function animasyon1 (event:MouseEvent):void
{
gotoAndPlay(2);
}
function animasyon2 (event:MouseEvent):void
{
gotoAndPlay(61);
}
böyle böyle 5 button oluşturup buttonlara animasyon tanımlayacağım her bi butona basıldığında yaptığım 5 animasyondan biri sahnede oynacak bilen varsa yardım lütfen :confused1: