Help on developing sliders that load movies

Hi folks,

I have a page up at http://www.portcityportlandmaine.com/flash_project/ which explains the project I want to do.

I want to be able to have a slider that loads movies.

I am a newbie to Flash MX 2004 but I am a quick learn and have a very technical background in mathematics.

Thanks,
Greg
glandry1@maine.rr.com

you asked for hints, so that is what I’ll give you… ok? If you have questions, just keep posting them and we’ll nudge you along.

The slider… since you already know how to make it move along a set path, you’re going to tell it that it’s movement along the y axis will be the value of _y plus 5 (play with it a bit, you’ll get it).

The textfield… mytextfield.text=myslider.knob._y; Since it is in values of 5 it should give the correct value.

Load Movie…this will take longer, do a search right here for loadMovie and attachMovie… basically, you’re going to load a movie into an empty movie clip. Once you learn how to do that, you will use if/then statements or the switch command to tell it which movie to load based on the value of slider.knob._y.

I hope this helps you along your path of knowledge… go in Peace.

Thanks Iammontoya. I think you have sent me in the correct direction.

I’ll do some more reading over the next week and hopefully I’ll be able to dot all the i’s and cross the t’s conceptually.

The range of actions are quite overwhelming in Flash MX 2004. Yikes. A photographic memory would help.

I’ll copy down your hints and let those lead me.

My hope was is to find some multimedia developent software to do this project I have in mind to cd for a company. Do you have any suggestions for this type of software other than authorware by macromedia. I have Illuminatus Opus but I can’t seem to find the tools to do what I know I can do in Flash.

Thansk,
Greg

Macromedia Director is good for CD authoring, and it works well with flash (since it is made by the same company, heh)

Thanks for the authorware info.

I’m use to having a non-tree method of doing a cd. For some reason I haven’t been able to get a sense of authorware yet. Maybe I should give it a second shot.

Thanks,
Greg

Hi Iammontoya,

Here’s the script I used to move my button along a vertical line. All worked fine.


on (press) {
startDrag(this,true,_x,_parent.line._y -_parent.line._height,_x,_parent.line._y);
}
on (release,releaseOutside) {
stopDrag();
}


But I don’t get how to make it move in increments of five.

I thought the start drag only fixed the positioning of the handle’s movement.

Can you give me some direction?

Thanks,
Greg