A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [f8]Movie Clip Thumbnail Gallery - Lock _ymouse - can this be done in Flash?

  1. #1
    Junior Member
    Join Date
    Dec 2001
    Posts
    16

    [f8]Movie Clip Thumbnail Gallery - Lock _ymouse - can this be done in Flash?

    Here's the swf: http://208.131.133.122/flash/

    And my fla: http://208.131.133.122/flash/scene.fla (8MB sorry!)

    Right now, when the mouse is in the same _x position as the last thumbnail, the thumbnails slide gently to the left to reveal more thumbnails then slide back to the right when the mouse moves to the left again.

    The problem is that they start sliding to the left whether or not the mouse is over the thumbnail gallery. If the mouse is at the bottom of the screen or the top of the screen and in the same _x position as the last thumbnail, they will begin sliding.

    I would like the thumbnails to begin sliding only when the mouse hovers over the row of thumbnails and not when it is outside that thumbnail area.

    I added some actionscript to stop the movement of the movieclip when the mouse is above the max or below the min _y position of the clip; but, it does not work.

    I don't really know what I'm doing. Can someone.... anyone... tell me if this is something that can be done? And if yes, how?

    Much thanks in advance.
    Last edited by kthursto; 04-23-2007 at 03:53 PM. Reason: did not put a title

  2. #2
    Senior Member layerburn's Avatar
    Join Date
    Jul 2006
    Location
    USA
    Posts
    542
    Here is a great tutorial. It is the scrolling thumbnail panel, it will show you how to have a 'hit area' so that it will only activate when your mouse is in a specific area.

    http://www.gotoandlearn.com/download.php
    This is your brain. This is your brain on script.

  3. #3
    Junior Member
    Join Date
    Dec 2001
    Posts
    16
    Thanks LayerBurn! This tute helped considerably.

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