Professional Web Applications Themes

Flickering buttons - Macromedia Director Basics

Newbie question. Totally overwhelmed and about to break something. I'm trying to set up a very simple photo album and have created four different "buttons" on the opening screen, to create a roll over effect. One of them works fine... on mouseEnter, it switches the cast member and creates a glowing effect around the image as I intended. On the other three, however, on mouseEnter, all that happens is the image flickers on and off. I'm confident there's a very simple solution and that six months from now I'll look back and laugh at what a moron I was, but ...

  1. #1

    Default Flickering buttons

    Newbie question. Totally overwhelmed and about to break something. I'm
    trying to set up a very simple photo album and have created four
    different "buttons" on the opening screen, to create a roll over effect.
    One of them works fine... on mouseEnter, it switches the cast member and
    creates a glowing effect around the image as I intended. On the other
    three, however, on mouseEnter, all that happens is the image flickers on
    and off. I'm confident there's a very simple solution and that six
    months from now I'll look back and laugh at what a moron I was, but is
    there anyone out there who can help me with this?

    Thanks in advance.

    Kipley

    Kipley Guest

  2. #2

    Default Re:Flickering buttons

    This is most likely a problem with registration points between your images or the rollover image is smaller than the original.

    After you swap a new image into your sprite, if the mouse is no longer within the new image (due to differences in registration points or size) then the sprite will receive a mouseLeave event, restoring the original, the mouse will then of couse be within the image again, so another mouseEnter event occurs etc, etc, etc. Result - Flickering Buttons

    You need to ensure your sprites match up properly to avoid this, or store the original sprite rect in a variable and use the 'inside' function to roll your own rollover events.

    hth

    johnAq


    johnAq webforumsuser@macromedia.com Guest

Similar Threads

  1. Calendar flickering
    By ReidarT in forum Dreamweaver AppDev
    Replies: 5
    Last Post: April 26th, 12:59 AM
  2. Flickering rollovers
    By johnsobey webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 3
    Last Post: January 23rd, 03:25 PM
  3. Flickering video
    By johnsobey webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 1
    Last Post: January 23rd, 01:07 AM
  4. Flickering mpg's
    By Mark Gibson in forum Macromedia Director Basics
    Replies: 1
    Last Post: January 5th, 04:01 AM
  5. Animated GIF Flickering
    By FiveandTwo5 webforumsuser@macromedia.com in forum Macromedia Director Basics
    Replies: 1
    Last Post: December 30th, 07:38 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139