Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Question with scrolling Thumbnails in photogallery

Posted on 2004-08-28
3
173 Views
Last Modified: 2010-04-03
Ok here is the files
http://theyac.org/photoGallery.zip

The problem I am having Is that I load the photogallery into the main photogallery externally and I have this slider thumbnail thing that slides the thumbnails back and forth well it works fine inside of itself but when loaded externally it shifts the hit area over to the left of the swf that it is loaded into.  So just look at the files and you will see I think it has something to do with the slider script, but I can't figure out what to do to change it to move it over.

Fixitben
0
Comment
Question by:fixitben
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
muso120999 earned 500 total points
ID: 11923578
hi fixixben,

I noticed you have nMcWidth set to 284, but the swf it is being loaded is 550 pixels wide, so it is still reacting to the mouse at the same point from the left-hand side of the parent movieclip.

I changed the line to "nMcWidth = 550;" in your onClipEvent(load) function, and it now works fine for me
0
 
LVL 7

Author Comment

by:fixitben
ID: 11924515
Thanks Man I am retarded I set it to the width of the class one not the main one duh.  
Thanks Alot

Fixitben
0
 
LVL 10

Expert Comment

by:muso120999
ID: 11924978
Only too glad to help ;-)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question