blasterstudios
Technical User
I need some help creating a slider that controls the size of my movie clip. What i've got is a movie clip that can be moved around the screen. I found the code to do this here:
I also have a slider that goes up and down. What I want is for the slider to control the size of my draggable movie clip. I'm not sure how to go about doing this. Here's the page i'm using it on:
All I need help with is setting up a function to make my ball movie clip get bigger and smaller as the mouse moves up and down the slider, but still allowing for the user to move it around the screen. i've got a reset button in case it gets off screen.
These are the functions for the slider:
the zoomslider sits inside a movie clip on the main timeline. My ball movie clip is also on the main timeline. its instance name is "dragit". If anyone can help, i would greatly appreciate it!
I also have a slider that goes up and down. What I want is for the slider to control the size of my draggable movie clip. I'm not sure how to go about doing this. Here's the page i'm using it on:
All I need help with is setting up a function to make my ball movie clip get bigger and smaller as the mouse moves up and down the slider, but still allowing for the user to move it around the screen. i've got a reset button in case it gets off screen.
These are the functions for the slider:
Code:
zoomslider.onpress=function(){
zoomslider.startDrag(false,11.1,23.3,11.1,108.3);
d=1;
};
zoomslider.onrelease=function(){
stopDrag();
d=0;
};
the zoomslider sits inside a movie clip on the main timeline. My ball movie clip is also on the main timeline. its instance name is "dragit". If anyone can help, i would greatly appreciate it!