Jump to content

Autoplayda Akan Yazı Kodları


OrhanEser
 Share

Recommended Posts

Projeye bir paragraf nesnesi koyun ismi Paragraph1 olsun.

Page On Show:

[code]nHiz = 10 -- kayma hizini burdan ayarlayin
Page.StartTimer(nHiz, 1)[/code]

Page On Timer:

[code]if e_ID == 1 then
Paragraph.SetPos("Paragraph1", Paragraph.GetPos("Paragraph1").X, Paragraph.GetPos("Paragraph1").Y+1)
if Paragraph.GetPos("Paragraph1").Y > Window.GetSize(Application.GetWndHandle()).Height then
Paragraph.SetPos("Paragraph1", Paragraph.GetPos("Paragraph1").X, (Paragraph.GetPos("Paragraph1").Y-Window.GetSize(Application.GetWndHandle()).Height)-Paragraph.GetSize("Paragraph1").Height)
end
end[/code]

[quote]http://www.mediafire.com/?v44a4eblqrbdet3[/quote]

Link to comment
Share on other sites

Olmaz öyle realyman, bu sefer yukarı gidince kaybolur bir daha gelmez. On Timer kodlarını şunlarla değiştirin:

[code]if e_ID == 1 then
Paragraph.SetPos("Paragraph1", Paragraph.GetPos("Paragraph1").X, Paragraph.GetPos("Paragraph1").Y-1)
if Paragraph.GetPos("Paragraph1").Y+Paragraph.GetSize("Paragraph1").Height < 0 then
Paragraph.SetPos("Paragraph1", Paragraph.GetPos("Paragraph1").X, Window.GetSize(Application.GetWndHandle()).Height)
end
end[/code]

Link to comment
Share on other sites

  • 6 ay sonra...

sayın kintaro hocam aynı konu aylar sonra bir daha lazım oldu geldim aratarak bu konuyu buldum aynı şekilde yaptım olmuyor tırrrrrrrrrrrrrr diyerek bir hata veriyor :) resim budur abim ilgilenebilirsen çok memnun olurum

http://g1209.hizliresim.com/11/y/djt2p.jpg
[b] [/b]

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...