A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: on rollover/out

  1. #1
    Member
    Join Date
    May 2004
    Posts
    47

    on rollover/out

    Hi I have this movieclip where a bitmap fades out over another bitmap
    in _parent I have this code

    on(rollOver) {
    this.gotoAndPlay("logoFadeIn");
    }

    on(rollOut) {
    this.gotoAndPlay("logoFadeOut");
    }

    as you see when you mouse hover the fading starts and fades back when mouse out.

    When testing and if I mouse hvoer and mouse out(very quick) it does'nt fade out.

    Does anyone knows why?

    regards T

  2. #2
    Member
    Join Date
    Oct 2003
    Posts
    45
    This kind of code can often get delicate. Can you post your fla or code?

  3. #3
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    Have the label logoFadeOut one frame after the stop action, instead of at the same frame ( if thats what you have ).

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  4. #4
    Member
    Join Date
    May 2004
    Posts
    47

    Thanks

    Thanks pellepiano! That did the work

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