Help with scrolling thumbnail?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • handrewjweber
    New Member
    • Sep 2007
    • 1

    Help with scrolling thumbnail?

    I'm trying to complete a tutorial on the scrolling thumbail. It's suppose to be real simple just some buttons inside a movie clip named PANEL. On mouseover left or right of center the buttons are suppose to scroll left and right. unfortunately i've spent most of the afternoon checking and re checking my code. If any one could shed some light on my problem i would be very grateful! Here is what i have:

    panel.onRollOve r = panelOver;

    function panelOver() {
    this.onEnterFra me = scrollPanel;
    delete this.onRollOver ;
    }

    var b = stroke.getBound s(_root);

    function scrollPanel() {
    if(_xmouse<b.xM in || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse>b.yMax) {
    this.onRollOver = panelOver;
    delete this.onEnterFra me;
    }

    var xdist = _xmouse - 275;

    panel._x += -xdist / 7;
    }

    Also this tutorial i'm refering to is for Flash MX and i'm using Flash pro 8. Is this possibly causing the problem?
  • atmguru
    New Member
    • Sep 2007
    • 1

    #2
    Hello,
    I am looking for a tutorial and template or some guidance on how to make a simple horizontal thumbnail picture preview with the option to scroll bar left and right.

    Basically, I have about 40 photos which I would like to have within a scroll bar that is 600x100 pixels - each photo thumbnail is 100x100 pixels - so a user can see about 5 photos at a time (with a few pixels between each - and left and right buttons at either end.

    When a user clicks on one of the thumbnails I would like it to open to full size within the web page with clicking on img it get closed.

    Can anyone advise on how I can achieve this?

    Thanks
    amit

    Comment

    Working...