Jump to content

Bir Resmin Yanıp Sönmesi.


Byogulcan
 Share

Recommended Posts

Bir resmin yanıp sönmesini istiyorsanız yani otomatik opaklığı düşürücek ve yükselticek bunu her saniye yapıcak

şu kodları izleyin.


[codebox]On Preload kısmına ;

down=true
opac=100

-----------------------------------------------

On Show kısmına ;

Page.StartTimer(10);

------------------------------------------------

On Timer Kısmına ;

if down then
opac = opac-1;
Image.SetOpacity("Image1", opac);
if opac==0 then
down = false
end
end


if not down then
opac=opac+1;
Image.SetOpacity("Image1", opac);
if opac==100 then
down = true
end
end

---------------------------------------------------------

[/codebox]

Bunları yaptıktan sonra projenizdeki resimleri kodlara bağlamayı unutmayın.bunların hepsini yaptıktan sonra size http://k003.kiwi6.com/hotlink/263j0444q8/utube.swf resimlerinizi bu flash efektindeki gibi yapıcak. Edited by Byogulcan
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...