Jump to content

Flashtan Dialoga Geçiş Olurmu


bitmez13
 Share

Recommended Posts

  • Editor

Flash üzerinde bir etki yapılırmı bilemem ama mouse koordinatlarını yazıp yapılabilir.Birde böyle birşey işi sıkıntıya sokacaktır.Çünkü aynı resim üzerinde mouse u her oynattıgında dialog çıkacak diğer illere bakamazsın.

Link to comment
Share on other sites

Yalnız kodu şu şekilde değiştirirseniz Mouse ile şehrin üzerine geldiğinizde değilde, Shift tuşuna basılı tutarak şehrin üzerine geldiğinizde dialog açılır:

 

Paragraph.SetText("Paragraph1", "X Koordinati: " .. e_X .. "\r\n" .. "Y Koordinatı: " .. e_Y )

if e_X > 324 and  e_X < 350 and e_Y > 366 and e_Y < 389 then
	if System.IsKeyDown(16) then
	sehir = "mersin";
	DialogEx.Show("Dialog1")
	end
elseif e_X > 93 and  e_X < 115 and e_Y > 200 and e_Y < 224 then
	if System.IsKeyDown(16) then
	sehir = "Balıkesir";
	DialogEx.Show("Dialog1")
	end
end
Link to comment
Share on other sites

teşekkürler kintaro

mümkünse bir sorum daha olacak

açılışta sayfa 1 ile proje açılıyor sonrasında sayfada bulunan bir butonla diyalog1 görüntülenip sayfa1 kaybolacak diyalog sayfasındaki bir butonlada sayfa 2 açılacak

nasıl yapabilirim

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...