A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: fade/size effect problem

  1. #1
    Junior Member
    Join Date
    Mar 2005
    Posts
    3

    fade/size effect problem

    hi..I dont see the option to stop the looping with the fade effect.
    when click on fade/size then pops up fade and slide transitions theres only a check box. there is no other options..I want to have text fade in and stay in.when i use initial fade in it just keeps on looping..even if i view the movie from first to last frame it just keeps repeating...

  2. #2
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890
    Custom scripts are needed for custom effects (and results).
    Anyway, it's very simple to create your own "fade effect".
    Now ... convert your text,shape or group into a movieclip.

    1) for Fade In set this script for that movieclip:
    onClipEvent(load){ this._alpha = 0;}
    onClipEvent(enterFrame){
    if (this._alpha < 100){this._alpha += 1;}
    }


    2) for Fade Out set this script for that movieclip:
    onClipEvent(load){ this._alpha = 100;}
    onClipEvent(enterFrame){
    if (this._alpha > 0){this._alpha -= 1;}
    }


    Simple enough, isn't it ?

  3. #3
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    The fade in effect itself does not loop. Your movie is probably looping. Use File > Export Settings > Html to turn off the looping.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center