フェードイン(alpha)


/ Published in: ActionScript
Save to your folder(s)

ふわっとフェードイン


Copy this code and paste it in your HTML
  1. onClipEvent (load) {
  2. a = 1;
  3. flg = 0;
  4. }
  5.  
  6. onClipEvent (enterFrame) {
  7. _alpha= a;
  8.  
  9. if(flg==0){
  10. a +=5;
  11. // 反転
  12. if(a>100){
  13. flg = 1;
  14. }
  15. }
  16. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.