Go Back   Dreamweaver Club Forums > Graphic Design > Flash
Register FAQ Members List Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Old 02-23-2010, 11:47 AM   #1
Join Date: Feb 2010
Posts: 48
Default Scrolling Thumbnail Panel

Hi Guys

Just wondering if someone can help me out with this. I made a Scrolling Thumbnail Panel , it's nothing exciting, just a basic 8 image panel that people can scroll through and click on the image they want to be brought to a new page. The problem I'm having is that when i put the flash file onto my site even if some one moves their mouse over the menu tabs the opposite side of the web page the images in the thumbnail panel start moving. Is their any way just to get the images to only move when the mouse goes over them. I taught i got the code right to make that happen but i must have missed something along the way. The code i used is this:

panel.onRollOver = panelOver;

function panelOver() {
this.onEnterFrame = scrollPanel;
delete this.onRollOver;

var b = stroke.getBounds(_root);

function scrollPanel() {
if(_xmouse<b.xMin || _xmouse>b.xMax || _ymouse<b.yMin || _ymouse>b.yMax) {
this.onRollOver = panelOver;
delete this.onEnterFrame;

if(panel._x >= 65) {
panel._x = 65;

if(panel._x <= -684) {
panel._x = -684;

var xdist = _xmouse - 250;

panel._x += Math.round(-xdist / 20);

I would be really thankful if someone could help with this.
pauldf is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 05:45 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com