Flash İle Alakalı Bir Sorun
-
arkadaşlar resimde de görmüş olduğunuz gibi... hazırlamış olduğum bir flash sitede sağ click yapıldığında çıkan bilgileri kendime göre değiştrmek istiyorum. bilen var ise ve yardımcı olabilirse çok sevinirim... şimdiden teşekkürler saygılar...
-
bunu kendine göre uyarlarsın, frameye actionla
------
yeni_menu = new ContextMenu();
yeni_menu.hideBuiltInItems();
//yeni_menu.builtInItems.print = true
yeni_menu.customItems.push(new ContextMenuItem("Animasyonu Başlat", basla));
yeni_menu.customItems.push(new ContextMenuItem("Animasyonu Durdur", durdur));
yeni_menu.customItems.push(new ContextMenuItem("Arkaplanı Mavi Renk Olsun ", mavi));
yeni_menu.customItems.push(new ContextMenuItem("Köpek Yeşil Renk Olsun", yesil));
yeni_menu.customItems.push(new ContextMenuItem("Köpek Eski Rengini Alsın", kopek));
yeni_menu.customItems.push(new ContextMenuItem("Arkaplan Eski Rengine Dönsün", arka));
function basla() {
_root.animasyon.play();
}
function durdur() {
_root.animasyon.stop();
}
function yesil() {
renk=new Color(_root.animasyon.deri);
renk.setRGB(0x6FD280)
}
function mavi() {
renk=new Color(_root.arkaplan);
renk.setRGB(0x007DBD);
}
function arka() {
renk=new Color(_root.arkaplan);
renk.setRGB(0xFFCF9C);
}
function kopek() {
renk=new Color(_root.animasyon.deri);
renk.setRGB(0xFFFF00);
}
_root.menu = yeni_menu;
-
çok teşekkür ederim hoca ...
Valla iyi oldu bu :)