Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




A Simple Scrolling Movie Clip



okay possibly there is another thread in the forum already that will be helpful if so please direct me in that direction however what i need is this: http://www.flashloaded.com/ultimate.php i am trying to scroll a movie clip horizontally using left and right arrows as well as a slider in the center. now i have a script with arrows that i found on kirupa and i already have the movie clip working with a slider however i do not have a way to make the 2 function as 1 slider. such as the example link above does. i will post my sampl so that u can see what i mean shortly. thanks! contact: aol, yahoo or msn instant msgr = wonlioness



KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 01-17-2005, 03:51 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Simple Movie Clip Scrolling
my movie

Ok. See the boxes on the right? Those will be grouped into a movie clip, behind a mask, but obviously I can take care of that.

See the scrollbar on the far right? I want all nine boxes to scroll up when the user moves the scrollbar down, and vice-versa. I would like this to work like a browser window scrollbar, so, for example, moving the scrollbar one third of the way down moves the boxes one-third of the way up.

Again, the little boxes are grouped into one movie clip.

I guess this is not a very difficult task, but for some reason I am having a hard time with it. Also, I haven't been able to find anything on google which directly relates.

Can anyone help?


Thank in advance!! Kindest regards,
-joshua[

A Simple Scrolling Movie Clip
okay possibly there is another thread in the forum already that will be helpful if so please direct me in that direction

however what i need is this:
http://www.flashloaded.com/ultimate.php

i am trying to scroll a movie clip horizontally using left and right arrows as well as a slider in the center. now i have a script with arrows that i found on kirupa and i already have the movie clip working with a slider however i do not have a way to make the 2 function as 1 slider. such as the example link above does.

i will post my sampl so that u can see what i mean shortly.

thanks!

contact: aol, yahoo or msn instant msgr = wonlioness

Scrolling Movie Clip With 2 Simple Buttons
Hi I am trying to load a movie clip into a container but the movie clip being loaded needs to scroll.
I have it loading in and out but cannot get the simple scroll to work on the one being loaded it. I have posted the files if anyone can shed some light on this. The main movie loads in scrollingmovie (which needs to scroll),
Thanks a mil, I know its something simple but cant figure it out

W

HELP SIMPLE, SIMPLE XML-FLASH Load Into Movie Clip
This is so stupid, my first dive into XML, with a company project - a tutorial/training piece which will require mjultiple screens with questions, etc.

Anwyay- I can get the XML loaded into the root, and it works pefectly, but I'd like to put things INTO a movie clip, so that each new screen or slide is just he movie clip advancing.

How the HELL do I target the movie clip? I even tried setting a NEW variable in teh main timeline once the XML was loaded, but the best I get is not the value from the XML, but the path (e.g. "level0title1")

Any help? I imagine it's a really stupid, easy question, but I can't find anythign ANYWHERE to answer it.

Movie Clip To Movie Clip - Simple Question
I was making my first real good flash site and I was trying to make it really low file size. I was wondering how to make it so I have 1 movie clip doing its animation then straight into another movie clip which compliments the other movie clip. I tried doing it like the first keyframe having 1 movie clip in it then the next frame have my other movie clip but it started to spaz out.

Help would be greatly appreciated and a fla even more so.

Thanks
DavE

Help With 'locking' Movie Clips To Another Scrolling Movie Clip.
Hi there, I am working on a project that needs a map of a city. Because the map is too big to fit on screen I decided to have controls to pan it around north south east and west. This works fine, but I want to represent points of interest throughout the city with animated movieclips overlaid on the map.

I have set up the movie so that the overlaid clips scroll with the map, however when the map reaches its boundaries the overlaid clips keep scrolling. So in effect what I need is to find a way to 'lock' the overlaid clips onto the _x and _y axis of the map. Any ideas how I can do this?

I realise this might be a little hard to understand on its own, so I have included the .fla file for you to play around with. Any help with this would be much appreciated.

Scrolling Movie Clip
can someone tell me how to make a movie clip that scrolls left on rollover, please.
___________
Thanks

Scrolling A Movie Clip
Can someone point me in the right direction? I'm not asking for a tutorial but just a step in the right direction.

I'm trying to get a drop down menu with the ability to scroll. I know how to scroll an external text file but scrolling a movie clip I'm stumped. Any help is greatly appreciated.

I'd like to have a similar effect of the dropdowns in The City Of Weston site from 2A.

Thanks,

Ryan

Scrolling Out A Movie Clip
I am having trouble having my movie clip slide off the page. My MC tweens onto the stage and I set the properties with the X and Y position with a on mouse event. Great. But I want the MC to move off the stage when I click a new button and have a new MC go onto the stage. Help?

-Mark

Scrolling Movie Clip
I have a movie clip that contains a really long sequence of images. Its easier if you look at http://www.measuretwicecutonce.co.uk and click on "work", which functions fine right now.
Basically i need to add more people to the list but when the clip gets too long the images appear all stretched and stripey although they are in their correct proportions.

Has anyone else had this problem and is there a fix or is it just that you cannot go beyond certain limits of the Flash stage?
[Edited by BSUC on 03-31-2002 at 09:20 AM]

Scrolling A Movie Clip Need Some Help Please.
Ok basicly im creating a gallery that will have around 40 images that im wanting to have at the bottom of the page it will be on and beable to scroll it from one end to the next. im gonna have each thumbnail as a button so that when you click on it, it will then load the full size image for you. So basicly i need i guess a movie clip with the buttons then i need to no how i can scroll that left to right and right to left. Anyone no where i can get a good tutorial or even a file to pull apart. Ive looked on here and found one but it was s*** and the actionscript was a mess and it was all set up to scroll up and down and when i changed the x and y it all messed up for some reason although thats what it says i was to do. So any help would be most appreciated.

Mental

Scrolling Movie Clip
I need help with this scrolling movie clip effect I am trying to accomplish. I have the code below: It''s working, but not correctly... any idea what I goofed up?

This is the script on a movie clip instance named scrollClip. The top of the clip (y) is at 250 and bottom
of the clip is at 313.

onClipEvent (mouseMove) {
xMousePos1 = _xmouse;
yMousePos1 = _ymouse;
if (xMousePos1>xMousePos2 && yMousePos1>250 && yMousePos1<313) {
_root.scrollClip.nextFrame();
}
if (xMousePos1>250 && yMousePos1<313) {
_root.scrollClip.prevFrame();
}
if (yMousePos1<250 || yMousePos1>313) {
play();
}
xMousePos2 = _xmouse;
yMousePos2 = _ymouse;
}

Thanks for any help!

Can Someone Help With Scrolling A Movie Clip
I want to use a scroll bar to move a movieClip that is behind a mask on the stage. How can I go about this? I want the scroll bar to basically act just like the scroll bar in your web browser. Can anyone get me started in the right direction?

Thanks.

Scrolling A Movie Clip?
I know how to scroll text, but I just can't seem to figure out how to scroll a mc or a graphic. Can anyone help me out? Is it somehow done my masking or what
EDIT: To be more specific I mean scroll a graphic or mc using a scrollbar

Scrolling Movie Clip?
This should be easy but I can't seem to figure it out...

I've got a movie clip with a mask over it. I want it to scroll, vertically, behind the mask when the user rolls over an up arrow or down arrow (also seperate movie clips).

What action script do I need on each of the arrow movie clips to make the scrolling clip move up and down?

Thanks,
Clint

Scrolling Movie Clip
I've got a movie clip, and a scrollbar on the side that controls it, with up and down arrows. The up and down arrows work (they control the movie clip) but you have to keep pressing them; you can't just hold them and them them scroll. How can I make it so the user can hold it and it will keep scrolling?
(Flash 5)

Scrolling Movie Clip
hi

im trying to scroll a movie clip along the x axis. i want it to scroll whilst the button is held down. there is one button that scrolls it left and another that scrolls it right, the buttons reference movie clips that add or minus the x position which is cool. im having problems getting the x position when you click the other button and it jumps across the screen rather than scrolling from where it was last left.

if anyone could have a look at my flash file it would be great as im really confused

thanks
boonos

Scrolling Movie Clip
i am having trouble with getting a movie clip (photos) to scroll... can anyone help me?

Tx!

Scrolling A Movie Clip
hey guys

i am looking for a tutorial that deals with a scroll bar controlling the motion of a movie clip horizontally, any help would be greatly appreciated...

Thanks

Hula

Scrolling A Movie Clip
hey guys

i am looking for a tutorial that deals with a scroll bar controlling the motion of a movie clip horizontally, any help would be greatly appreciated...

Thanks

Hula

Scrolling A Movie Clip
Hey guys,
I'm working on a presentation & on 1 of the slides I have a timeline that currently animates from L to R then pauses on rollover. However I've asked to create the same timeline that can be scrolled using btns. Any know where I can find a tutorial, actionscript or fla file on this?
Thanks

Help Scrolling Movie Clip
Help! I just want to know how to scroll a movie clip with a customized up and down button?? just like the effect of an Iframe. I really really need it! thank you so much! here's a sample http://physci.tech.nu thank you!!!

Scrolling A Movie Clip.
I need help! I've been searching a lot of tutorials and all i got is how to scroll a dynamic text. But what if I want to scroll a movie clip the same way that i could scroll a dynamic text?? I really need help about this.. please. Thank you!!!

Scrolling Movie Clip
I read a tutorial about this on this site and the author's e-mail address doesn't exist. So I ask your help. Everything in my document works except that the text doesn't show up. Can you tell me why please.

thanks
Max

Scrolling Movie Clip
I read a tutorial about this on this site and the author's e-mail address doesn't exist. So I ask your help. Everything in my document works except that the text doesn't show up. Can you tell me why please.

thanks
Max

Help Me With Scrolling A Movie Clip
***Never mind I solved it,, well more or less**
Ive put a movieclip on the main timeline. The movieclip is way to long for the width of that flash so I thought of making two buttons.
< and > when clicking on the > button the movie clip will play forward. And when clicking on the < button the movie will play backwards. This is a dumb way to scroll a movie clip im sure.

The thing is that id like to place the two buttons in that movie clip and not the timeline. If I use the x and y thingy wont the buttons scroll also??

Can someone help me out with theese buttons. How would the code look like if I want to scroll a movie clip from left to right and from right to left.

Something I found:
When the button is clicked its supposed to play a certain movie clip, and not the main timeline. Dont know how you do this. Lets say I have put a movie clip on the main timeline called rightbutton and want to play it. Is this correct.
on(release){
play.rightbutton;
}

I guess I have to put the button in a movie clip also and then put that in the main timeline. In that movieclip(where the button is)I do something like this.
First frame and the only one.
xpos++;

Dont know much actionscript and i guess ++ doesnt work and maybe flash doesnt know what xpos is either.

Hope the above makes any sense and I dont look like a complete fool.

Hope I can get some help in here.

***Never mind I solved it,, well more or less**

Scrolling Movie Clip
I've created a movie clip in MX of a sunset and I want to control the postion of the sunset via a sliding button. Slide to the left the sun comes up, slide to the right the sun goes down.

The tutorials here are a little hard to follow. Can anyone give me a step by step instuction on how to go about it.

Thanks in advance

Scrolling Movie Clip
I am working in Flash MX (6) and I am attempting to create a scolling menu that responds to the mouse pointer. I have gotten it sucessfully do that with this code:

_root.onEnterFrame = function() {
scrollMenu._x = scrollMenu._x+(.5*Stage.width-_xmouse)/10;
};

The problem I'm having is the movie clip will continiously move without ever stopping. I would obviously like it to script boundaries but I am not to familiar with the code to do this. I can't seem to figure out the if statements to make this happen.

Any help in the right direction would be greatly appreciated.

Scrolling Movie Clip
could anyone tell me how do i scroll a movie clip using buttons in the most simple way.

Scrolling Movie Clip Help
hi,
i found thids file on flashkit and it is a file to scroll a movie clip. Anyways, it worked fine, but when i selected all the elements in the timeline and copied it and then 'paste in place' of a new flash document of the same width and height, i got errors. why is this happening? When i test the original file, it doesnt have any errors but when i paste it into a new file i get 9 errors. Could someone help me???? The original file is attached.

Scrolling Movie Clip Help?
I've read and downloaded a lot of tutorials and haven't found the exact answer yet. I'm struggling and don't know exactly what's wrong. i'm new at the actionscripting but love to design. Anyone help with the coding here? This movie clip goes inside the main flash movie.

Thanks,

Tyler

tlbeek77@yahoo.com

Scrolling A Movie Clip
What is the best way to scroll a movie clip with a slider bar that doesn't change size.

I am using this code but there is an issue in IE. I was thinking maybe there is a better code I should be using..... Thanks for the help!

code:
onClipEvent (load) {
diff_x = bound_box._width-scroller._width;
bounds = bound_box.getBounds(this);
left = bounds.xMin+(scroller._width/2);
right = bounds.xMax-(scroller._width/2);
function updateScrollbar () {
content._x = -(((scroller._x-left)/diff_x)*(content._width-bound_box._width));
}
}

onClipEvent (mouseDown) {
_root.nav.scroller.box._alpha=70
if (scroller.hitTest(_root._xmouse, _root._ymouse)) {
startDrag ("scroller", false, left, scroller._y, right, scroller._y);
scrolling = true;
}
}


onClipEvent (enterFrame) {
if (scrolling) {
updateScrollbar();
}
}

Scrolling Movie Clip
Hi everyone

I can't get my head round making a simple scrolling movie clip

The only website I have found what I'm looking for is Britney Spears I would be grateful if you could take a look at that home page, there is a scrollable latest news section with text and graphics. It is very simple but effective I like just the white block scrolling.

I have tried to do this but I can't quite get it right. the scroller will not stop exactly where i want it etc!!!

I would really appreciate it if anyone knows how to make this editable movie clip scroll? Even better if someone has already made a script like this that can be downloaded.

Thanks guys, i'm sorry about the long post!

Help With Scrolling Movie Clip
Basically I just want to have a movie clip scroll up and down on release of two clickers, can someone tell me why this code isnt working? It will work once, but never again.

on(release) {
setProperty("music", _y, y-10);
}

Scrolling A Movie Clip
I'm trying to scroll a movie clip that is vertically larger than my stage. The UI drop in component doesn't really fit the bill and I'm wondering if there is something out there that anyone knows about for scrolling movie clips. I've found some hyper complicated Math style applications that may be a little beyond me. I'm open to anything at this point.

Scrolling Movie Clip
Hi,
I'm using this script to scroll a movie horizontally.

onClipEvent (enterFrame) {
if (_root.mainVar == 0) {
homeX = (-_root._xmouse*3)+1400;
} else {
homeX = (-_root.mainVar*3)+1400;
}
thisX = _x;
diffX = homeX-thisX;
if (_root.mainVar == 0) {
moveX = diffX/30;
} else {
moveX = diffX/5;
}
_x = thisX+moveX;
}



Can someone explaine to me how this works so i can customise it. Also i would like to be able to scroll vertically as well. What script should be added?
Thanks people.

Scrolling Movie Clip
Hi,
I'm using this script to scroll a movie horizontally.

onClipEvent (enterFrame) {
if (_root.mainVar == 0) {
homeX = (-_root._xmouse*3)+1400;
} else {
homeX = (-_root.mainVar*3)+1400;
}
thisX = _x;
diffX = homeX-thisX;
if (_root.mainVar == 0) {
moveX = diffX/30;
} else {
moveX = diffX/5;
}
_x = thisX+moveX;
}



Can someone explaine to me how this works so i can customise it.

Scrolling Movie Clip Max And Min
How do I create a max and min for a movieclip symbol's motion (location) that is being controlled by scroll up, scroll down buttons? Tell me if that doesn't make sense or if you need any clarification Thanks.

LexThayn

Scrolling Movie Clip
Hi

I'm trying to do have this movie clip(mcSlide) to scroll horizontally when the users rolls over this arrow(mcForward) but I want to the scroll continues till he rolls out so heres what I tried to do :

function scrollRight():Void {
mcSlide._x -= 10;
updateAfterEvent;
}
mcForward.onRollOver = function():Void {
setInterval(scrollRight(), 10);
};
mcForward.onRollOut = function():Void {
clearInterval(nInterval);
};

but when I roll my mouse over it only scrolls once and then stop
any idea how I make it work?

Scrolling A Movie Clip
Here is my deal, I have been trying to get this to work for awhile so I guess I'll ask.

I need to have 6-7 images that will be buttons that link to another part on the timeline to play a movie but the area isnt big enuff to fit these 6-7 images. SOOO I thought hey I will just scroll them inside of a movie clip. Well it seems that I cannot figure this out alone. Is there a way to scroll a movie clip?

Scrolling Movie Clip
I have a problem with trying to work this one out. I thought it would be a challenge and after trying and trying i've decided to ask here.

I have my (large in height) movie clip which is masked out in the little space i want to see content. I have got a startDrag movieclip moving in the correct action, like a scroll bar would.

The closest i have got towards this is on

frame 1 a variable saves the current scroll bar position (scrollSave).

scrollSave = scrollBar._y

frame 2

if (Scrollbarr > scrollSave){
Content._y = content._y - 5
}

This was a simple start to getting it working, however...If the user scrolls the bar to fast then the code won't pick this up, even on 120 fps.

I've also tried a few other ways to get around how to do this but they don't come as close as this way.

Please provide me with some tips and help me along with this. I don't just wan't code on how to do this, just some advise. Thanks!

Scrolling Movie Clip HELP
Hi,
Does anyone know how to control a movie clip with arrows? I want to create a horizontal scrolling movie clip that is controlled right to left by two arrows.
I'm setting up a long movie clip that extends off the stage. I want the user to be able to scroll through the movie clip by clicking and holding right and left custom made arrows. Please please HELP! Thanks!

Scrolling With More Than One Movie Clip
I have an image with a button/movie clip at the bottom that the user scrolls down to, but i can't get the button to scroll with the image. How do i get more than one object to scroll?

[F8] Scrolling Movie Clip
Hi all, I have this problem I am trying to resolve and would appreciate any help I can get.

I have a movieclip intowhich movies are loaded when buttons are pushed.

One of the movies is a text page which needs to scroll. I have managed to get text to scroll with the scrolling component however I cannot customise that text at all. Make certain words bold, italic etc.

How do I overcome this.

Regards
Mike

Scrolling A Movie Clip
hi

i have a movie clip that has a bunch of thumbnails within it and is wider than most monitors. i would like to set up a scroll bar above the clip that runs the width of the user's monitor and would scroll the movie clip from left to right so that all the thumbnails would be accessible. i imagine this involves some type of dynamic masking or something along those lines. i'm just not sure how the scroll bar and movie clip could adjust themselves to the correct width depending on the user's monitor size.

thanks in advance for any help with this

Scrolling Movie Clip Again
Hi
I have attached my movie. It loads in a separate movie and I have it scrolling but cant get it to contineously scroll or set stops.
I think my problem is because I have my actionscript all on one frame at top, as every tutorial I have used has actionscript on buttons and movies, and I can't translate correctly to getting on the one actionscript frame which is what I want,
Please help!

Scrolling Movie Clip
I am trying to create a scrollable Movieclip, activated by buttons.

So far I have created a movie clip with text/images. Called it MCname.

Created 2 buttons - up =

on (press) {
MCname.onEnterFrame = function() {
if (this._y>50) {this._y -= 10;
}};}
on (release) {
McName.onEnterFrame = null;
}

down =

on (press) {
MCname.onEnterFrame = function() {
if (this._y<400) {this._y += 10;
}};}
on (release) {
McName.onEnterFrame = null;
}

It is scrolling, but I am having problems masking the area. I am very new to this and any help/direction would be great!! Please see attached SWF, to give you an idea of what is going on.

Scrolling Movie Clip
Hi - I am new to Action Script and need some help with making a movie clip scroll.

I am working on a photo album (partly taken from a Kirupa forum), which loads photos from an XML file. I have added thumbnails, which sit inside a container Movie Clip. Because I now have more than 60 photos, the Movie Clip (holding the Thumbs) needs to scroll.

I have made some Movie Clip up / down buttons, given them instance names.
What next ?

Any help would be appreciated

Scrolling Movie Clip
Hello everyone...

I am trying to figure out why my thumbnail movie clip will not scroll when clicked. I thought I had the action script right but it appears that I have not. Could anyone help me troubleshoot this? If you could give me your email addy, I will send the .FLA file for you to look at.

Thanks very much

Kit

Copyright © 2005-08 www.BigResource.com, All rights reserved