Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scrollable images 1

Status
Not open for further replies.

nofx1728

Technical User
Jan 26, 2006
65
US
I'm using Flash 8. I want to have scrollable images, similar to that of scrolling text. My stage isn't large enough to display 10 pictures, so I want to be able to use an arrow button, to show the other images. How can I set this up? Anyone know how to do this, or have a decent tutorial.

Thanks,

nofx1728
 
I don't see a tutorial that describes what I'm loking for on that link. But thanks for the post. The scrolling on there was continuous. I'm looking for a scroll that uses buttons to control. I'm just not sure what I should put the images in. Just like a dynamic text field.. when you make it scrollable. Thats what I'm looking for, but with images instead of text.

Thanks,

nofx1728
 
Thanks for the posts oldnewbie. I appreciate it. Let me ask you something if you don't mind. I decided the easiest way to make this is to make a movie clips (pictures_mc) and have a mask. And have buttons to move the _y value of the movie clip. But I don't want the movie clip to go to high, and I don't want the movie clip to go to low. Currently I have this as my code:
Code:
on (press) {
	onEnterFrame = function() {
		this.pictures_mc._y-= 10;
	}
}

on (release, releaseOutside) {
	delete onEnterFrame;
}

This accomplishes everything that I need, except it doesn't stop the movie clip. Do you know how I can limit the movie clip from passing a certain point?

thanks,

nofx1728
 
on (press) {
onEnterFrame = function() {
// add condition here...
if (this.pictures_mc._y < bottom_max && this.pictures_mc._y > top_max({
this.pictures_mc._y-= 10;
}
};
}

Replace bottom_max and top_max by actual maximun positions.

Regards. Web Hosting - Web Design
03/13/05 -> OLDNEWBIE VS FLASHKIT
 
You are the man oldnewbie. Thank you so much for all of your help. It is much appreciated.

Thanks,

nofx1728
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top