I have also done a sample for your reference..
download it here:
http://www.4shared.com/fil
Rgds
Aneesh
Main Topics
Browse All TopicsHi! I am sure this is a super easy thing to do, but as I am clueless, I am needing help!
I am using Flash MX. I have created a slider with a line and dragger, I followed the tutorial from
http://www.kirupa.com/deve
except mine is vertical instead of horizontal.
Here is the code I have in frame 1 of the movie clip that is my slider:
this.ratio=0 ;
dragger.onPress=function()
this.startDrag(true,0,0,0,
this.onEnterFrame=function
ratio=Math.round(this._y*1
}
}
dragger.onRelease=dragger.
And here is the code I have in frame 1 of the movie it appears in:
this.onEnterFrame=function
ratio.text=mySlider.ratio;
}
So, that works slick, EXCEPT for the fact that I have no clue how to actually link it to the content that I want it to scroll, which is really the important part!
I just have a movie clip that I would like to move up and down as the user drags my slider. Seems simple, but I have no clue, so any help would be greatly appreciated! Hopefully I have explained myself enough, but if not just ask for clarification and I will do my best. Thanks!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I have also done a sample for your reference..
download it here:
http://www.4shared.com/fil
Rgds
Aneesh
The code you had me substitute in worked wonderfully! I couldn't get the sample work, kept saying "unexpected file format" when I tried to open it, but your first suggestion linked them right up!
The only other little issue I am having with it now is, the movie clip I am scrolling (myMovie) uses a mask, the content is a long list-type thing which I want to show within a certain rectangular area. Right now the part that is un-masked, I guess you would say, when the page loads just scrolls up to the top of the page and it never reveals the content below. I guess what I am asking is, how do you use the scroll and make the content that is being scrolled only be revealed within a "window"? Sorry if this is going out of the realm of my original question!
Thanks so much for your expertise!
here is the updated version,,
only masked area is visible during scrolling...
download link: http://www.4shared.com/fil
Rgds
Aneesh
I get the "Unexpected File Format" with this one, too. I am not sure what I am doing wrong. I hit "Download" at the bottom of the page, then once it downloads, I right-click and open Properties where I Unblock it. Then I try every way possible to open it, to no avail. Is there something else I should be doing?
Thanks!
You must be having Flash mx2004,
I have uploaded the FLash 8 file..
Ok,
here I have uploaded the Flash MX2004 version
http://www.4shared.com/fil
Rgds
Aneesh
Business Accounts
Answer for Membership
by: aneeshchopraPosted on 2006-09-12 at 17:38:38ID: 17508133
Hi,
(){
ight-mySli der._heigh t)*mySlide r.ratio/10 0;
I assume your movieClip instnacename is "myMovie".
just replace ur following code;
-------------
this.onEnterFrame=function
ratio.text=mySlider.ratio;
}
----------
replace it with the following:
-----------
this.onEnterFrame = function() {
if (myMovie.initY == undefined) {
myMovie.initY = myMovie._y;
}
myMovie._y = myMovie.initY-(myMovie._he
};
---------
Rgds
Aneesh