More Help With Scrolling Images
I am attempting to build scrolling images. I really want to use Flash Action scripting instead of some outside source. I have the following code I am using now:
// slide_number is the total number of slides on the stage. // This is the one you change if you add or delete slides slide_number = 5; // this controls how fast the reel scrolls reel_speed = 4; // slide_count always starts at 3, because // Slide's 1 and 2 are already in place from the // following lines slide_count = 3; m1 = _root.slide_1; m2 = _root.slide_2; m1._x = 0; m1._y = 0; m2._x = 200; m2._y = 0; // You will notice above movie 2 starts at 200. // This is because our clips are 200 wide. // this calls the function below it every frame this.onEnterFrame = function() { _root.moveLeft (reel_speed); }; // Ok, this function moves the movies left until // they move 200 pixels, then loads the next slide in line. // There always has to be two clips moving side // by side so that when we mask this it will // look continuous. function moveLeft(nPixels) { m1._x -= nPixels; m2._x -= nPixels; // Ok, these if statements basically say // "I'm done with that slide, give me the next // one in line and I'll put it next to the one that is // still scrolling. // Once the number of slides is reached // the IF returns the count to the beginning. // and slide_1 starts again if (m1._x<-200) { m1 = _root["slide_"+slide_count]; slide_count = slide_count += 1; if (slide_count>slide_number) { slide_count = 1; } // Ok, this is a grey area. There seems to be some // kind of latency between the time the movie is told // to load(onEnterFrame) and when it appears on screen. If anyone // can explain this to me that would be great. // If you speed the reel up, or scale the slides up, // you need to play with this. What I'm doing is putting the // next slides in, between 4-6 pixels shorter // depending on the speed of the reel, on the _x because the delay // shows gaps in the reel. You could put a background behind // the reel and not worry about the little gaps. This seems // to fix the problem though. m1._x = 194; m1._y = 0; } // Same as above, only with the alternative slide if (m2._x<-200) { m2 = _root["slide_"+slide_count]; slide_count = slide_count += 1; if (slide_count>slide_number) { slide_count = 1; } m2._x = 192; m2._y = 0; } }
I liked using this script because it gives me the information on what the scripts do. (BTW I am new to this)
I have my images placed and they scroll but my BIG problem with this script is the size of each image has to be the same. I am looking to have different width images scroll. Does anyone know how I might go about creating an image scrolling script with different width images??
Thank you, Thank you very much,
In advance!! Cheers
FlashKit > Flash Help > Flash ActionScript
Posted on: 09-28-2005, 02:40 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Can't Fit All Images Into My Scrolling Images Movie
I'm pretty new at Flash, especially actionscript and I can't figure out how to get my movie to go through all the images I put in. In the library there's a movie folder in which there are 3 movies. The second one has most of the actionscript. I can't figure out what I need to manipulate so that all the images play/scroll through.
I put it up a link to the flash film on the web because even when zipped the file is too large to post as an attachment.
http://www.wakefly.com/staging/flash/flashmovie.htm
Any input would be much appreciated. Thanks!!!
Scrolling Images With Rollover Images
Ok, I am going to try to describe what I am trying to do to the best of my ability.
I have a scrolling menu of images, when you rollover the right arrow they move right, the left they move left. That all works fine, but I am having a problem figuring something out. What I want to do is: When someone is scrolling along they can rollover one of the images and it will bring up the pic in a certain area. Only problem, how would I do this without the scroll bar reseting itself. Right know I have it set up so that when you click one of the images in the menu it goes to another scene with that pic in it, but the scrollbar is gone. You then have to click a back button and it takes you back to the page with the scroll bar, but it is back at the beginning of the menu, and not where the person left off.
Any need to clarify anything let me know!
Thanks!
Scrolling Images
Hey guys, have a look at ::
> http://www.gridplane.com
Under the photos section, select the Light & Motion series.
How can I achieve this scrolling effect between photos?
Any tutorials?
This is exactly an effect I am currently trying to create, so any help is appreciated.
Please Help How Do I Get A Scrolling Set Of Images...
Please help!!
I am trying to create a web page that has a set of scrollable images on the left hand side. When hovering over the images, they scroll and when clicked on the chosen image appears, full size on the right. How can I acheive this? Any ideas?
Scrolling Images
I have seen many tutorials about scrolling text but how do I make images scroll? I tried one tutorial but with no results. I am planning to have 3 columns on the page with the center one being images which the user can scroll. The other 2 columns remain static. I need help. Please tell me what to do? Some tutorial that I can use?
Thanks a lot.
Scrolling Images
Does anyone know how this works. The images scroll across the screen until the mouse moves and the images follow the direction of the mouse. The site below shows what I'm taking about. If anyone know how to do this, or of a tutorial please let me know???
http://www.juliefowells.com/main.html
nauhs
Scrolling Images
I want to scroll an image across the screen using buttons and the keyboard. To move the image this is the code im using for one button:
on (press, keyPress "<Left>") {
pic._x += 250;
}
What i want to do is make it so if you hold down the button it will keep scrolling across the screen, until you let go.
Any ideas?
Scrolling Images
I am planning to create a movie with arrow buttons to scroll a movie clip with bunch of images in a rectangular area. Have looked at the tutorial here...it's a good one but a little bit complicated for me. Besides, it's based on another tutorial which I have a problem getting into the webpage. Is there any recommendation on any materials or tutorials that could help me?
Help With Scrolling Images
i found an open movie, http://www.flashkit.com/movies/Scrip...6162/index.php, but i can't figure out how to put my movie clip in it and configure all the actionscripting because the comments are in italian. i'm also very new to flash but if someone could just explain the process of duplicating this movie and customizing it, i can figure everything else out. i know how to make the mask and i have the image that i want to scroll, i just need a walk-through. thanks,
alyssa
Help Scrolling Images
hello,
I'm trying to make a scrolling image strip(a number of images) which move to left and right. Sure, If I rollover right button, the image strip moves to right and same way for left.
It should move forever, but I can't make it. I don't know how to make it replace at the starting point if it move out from the stage.
Please give me your smart contributions.
Thanks /Joo
-= Scrolling Images =-
if you press the links on this site http://www.planetnintendo.com/eterna...ss/index2.html if you press the later buttons the images are blurred. Is there a way to fix this. Its about 5 images, 631 px in width. Ive seen this work before.
Thanks
n
[Edited by Nigel1985 on 07-31-2002 at 12:16 PM]
Scrolling Images
I need to make a mc that i can scroll within another main mc.
At the moment I have made a seperate .swf file that loads
in to the main mc.
In this .swf I would like to add pictures and text, and maybe some more small mc's. Also I would like to scroll this mc vertically.
Any Help Welcome
Scrolling Images
imagine, some images scrolling right to the left(whit a mask)?
that's my problem.
how doing to repeat the images?
once again....that's urgent. thanks for
a quickly answer.
Scrolling Images
hello,
I have an image of a spiral staircase and I want it to seem like the visitor is climbing up the stairs. When I attempt this, the entire image scrolls until it is no longer on the screen. What I need it to do is zoom and move to left and right to follow the staircase.
Can anyone help me with this? Thanks a heap!
Scrolling Images - Help
Hi - hope I can be clear as to what I am looking for.
I am triying to create an effect similar to the one on this site :
http://www.lefroybrooks.com/catalogue/xo/index_swf.htm
where the images scroll across the screen when a button is clicked. Also want to create the effect that the images scroll BACKWARDS when the buttons are clicked as well. Basically, I want to recreate the navigation of the above site (to an extent)
Thanks!
merenoyes
Scrolling Images
hey i would liek to know how you would do this effect in flash mx. If you go to photographs of this site http://<a rel="nofollow" href="http:...rsleep.com</a> i would liek to do that type of effect.
Scrolling Images
I am relativly new to Flash. Can someone point me out to a portfolio that can tell me how to create a portfolio similer to the one I found out at this site? A series of images spins horizontally depending on what button you push. Here is the example:
http://www.christopherhays.com/
Go to the portfolio section after entering the site.
Scrolling Images
Could anyone please tell me how to create the image scroller like the one on http://www.halfproject.com/showcase/index.htm
When you click an image number it shoots by all the images before it and then stops at the image number you selected.
If you could point me to a tutorial or give me some pointers it would be much appreciated.
Thanks.
Gab.
Scrolling Images
Hi,
I use a movie clip on a frame with images to have the image scroll from left to right and vice versa using mouseover little arrows.
My problem is once the image strip is done I see the background, what i wanna do is have the images in a loop so the first 1 will come back, can anyone help me plz
Here is the code i use :
var speed = 5;
// how fast the clip will move
links_mc.onEnterFrame = function() {
this._x += (this.dir*speed);
};
right_btn.onRollOver = function() {
links_mc.dir = -1;
};
right_btn.onRollOut = function() {
links_mc.dir = 0;
};
left_btn.onRollOver = function() {
links_mc.dir = 1;
};
left_btn.onRollOut = function() {
links_mc.dir = 0;
};
Thank you
Gates
Scrolling Images (again)
Alright, I've posted this several times in the past. I really need help if someone knows the answer. I'm trying to build an image scroller, BUT whenever the image gets past a certain dimension flash gets all screwy on me. Here's my example:
http://www.superhyperglobalmeganet.com/iid
Click on gallery.
Gallery one works. Gallery two is two images longer (4060 pixels total) but Flash won't render it correctly...It gets all stretched n' stuff.
I need a work around for this.
Scrolling Images
hey
i was wondering if anyone could tell me how the opening animation of corbis.com is done. the images scrolling left to right.
Images Scrolling
I'm making a website, and I want to have something on it in flash that scrolls images horizontaly. I want it to scroll when I mouse over a button. When I click it, it'll have to show a larger picture and a description within flash above this scrolly thing. How would I go about doing it? Can I get a link to a tutorial if possible?
Thanks
Scrolling Images
I'm wondering if someone knows of a good tutorial on how to make a scrolling image menu like there is on http://www.mediapulse.com/
or the vertical menu on http://www.movedesign.com/move/main.html
Right now I'm trying to learn actionscripting but I have no idea how to start this. Also I'm using MX2004. Thank you
Scrolling Images Too Big
hia
i'm trying to have bunch of images with animated buttons scrolling.
All the tutorials i've found involve placing the bunch of images next to eachother lined up and ready on stage.
My problem is my bunch of images are too many and too big (which is very necesary).
Is it posible to load them externally.
cheers
Scrolling Images....
hello everyone,
i'm building a site where there will be a gallery of pictures...
now i want the site to fit the screen so the user doesn't scroll down..
so i was wondering how can i scroll images...?
thanks ahead...
[i'm using flash MX 2004 pro.]
Scrolling Images
Hello everyone. I'm new here and I'm looking for some help.
I'm working on my first Flash movie with Flash MX 2004. I know very little about Actionscript, but I'm learning.
Anyway, in my movie, I'd like to have two buttons - one on the left and the other on the right, and several movie clips lined up in a row above the buttons. And when a user clicks (and holds) one button, the images scroll by in that direction very smoothly. When you release the mouse, the scrolling stops - Like a conveyor belt. Same thing with the other button, but in the other direction. Does anybody know how to accomplish this?
I hope this is clear enough. If anyone can help me out with the Actionscript part, I'd really appreciate it.
Scrolling Images
I created a scroller via actionscript... basically I placed 6 images horizontally inside a movie clip... then in code I move the movie clip using the setProperty and changing the _x value... then I duplicate that movie clip and put it at the end the the first movie clip... so it continues to scroll infinitely...
If I'm making no sense ;-) here is what I'm talking about
www.flexinsouthflorida.com
you'll see the images scrolling in the top of the site.
My problem is that this is taking alot of cpu processing... and all the animations run slower while this is running. For example there is a section that are links to view some videos... the video starts running slow... because the scroller is running, but if you maximize the window with the video it plays fine.
Even though I mad e the scroller work... I think there has to be a better way of doing this... so it won't hog so much resource..
I can supply the code for the scroller if needed
thank you
Scrolling Images
Hi:
I am a fairly new to Flash but have put together several quick animations. I wan to put together what looks like a film strip with about 10-15 continously scrolling images, from left to right.
I would also like to have the animation stop when the user mouses over the image.
Can someone please direct me to a good tutorial for this or shed some light on the process.
Thanks for your help and I look forward to posting to this forum.
Eric
Scrolling Images
Please help!
I want to create a scroll bar like the one featured on http://www.calatrava.com/
I had posted a message in the general forum, but I would imagine it is better suited here!
I am new to Flash so any help would be greatly appreciated! I have no action script, as I don't know where to start!
I wanted to create the scroll bar for approx 15 images! And be able to enlarge like the aforementioned website!
Please help
Scrolling Hot Images
I'm trying to create a movie that consists of several images that scroll and that are each linked to a different location. The images also need to a have stop function on (MouseOn).
I tried turning the images into buttons and just scrolling them, but I lose the get url, (MouseOn) & (MouseOut) functionality when I do. Is there a simple trick to this seemingly easy project. Any help in this matter would be greatly appreciated.
Thanks in advance.
Scrolling Images
i have three largish images that I would like to scroll between, The way I want the clip to work is so when a button is pressed the image will scroll left or right revealing that image which corresponds to the button pushed.
Its like a simple scrolling slideshow that works with buttons.
Anyone have any ideas?
[f8] Scrolling Images
http://www.truvisionentertainment.com/main.html
I found a tutorial here on flashkit to help me figure out how to make scrolling images. Here is the actionscript I used for the up arrow :
on (release) {
var nextFrame = nextFrame+1;
if (nextFrame>2) {
nextFrame = 2;
}
gotoandPlay(nextFrame);
}
DOWN ARROW:
on (release) {
var nextFrame = nextFrame-1;
if (nextFrame<2) {
nextFrame = 1;
}
gotoandPlay(nextFrame);
}
However, it is still not working. I keep getting this error message: **Error** Symbol=mc. talent, layer=up/ down arrows, frame=1:Line 4: Type mismatch in assignment statement: found Number where Function is required.
nextFrame = 2;
**Error** Symbol=mc. talent, layer=up/ down arrows, frame=1:Line 4: Type mismatch in assignment statement: found Number where Function is required.
nextFrame = 1;
Total ActionScript Errors: 2 Reported Errors: 2
I have tried correcting the errors but I keep getting the same message. Can anyone figure out where I went wrong?
Scrolling Images
Hi,
I was wondering if anyone knows how to create a horizontal strip of scrolling images and when the mouse moves over one image it changes from grayscale to its actual color and scales, when the mouse moves away the horizontal strip continues scrolling?
Thanks.
Scrolling Images
Hi,
I was wondering if anyone knows how to create a horizontal strip of scrolling images and when the mouse moves over one image it changes from grayscale to its actual color and scales, when the mouse moves away the horizontal strip continues scrolling and the image returns to its being gray and scales down?
Thanks.
[MX] Scrolling Images
ive recently built a site with a sliding graphic thats runs left to right on screen. i want to know how to create a scrolling background that moves on an x and y axis. if you want to see what im on about, this is the site i built www.skichute4.com.au
i really need some help with this one please, so if anyone has any suggestion or can point me in the way of a tutorial it would be greatly appreciated
Scrolling Through Images
Hi there
I would like to create an animation similar to below in the link... Where there is a series of 4 images with a scroll left / scroll right option where people can scroll through more images... as they press the button... the images slide away and new ones come in...
Have you seen a tutorial like this or perhaps could you help me set this up?
http://www.templatemonster.com/flash...g3mf5572na6ps3
[F8] Scrolling Images
Hi i am looking to create a scrolling image library just like the one featured here:
http://www.yellowdesign.tv/digitalmedia/
I've come across several tutorials that are similar to it but not quite right, the closest is this one:
http://www.oman3d.com/tutorials/flash/imagegallery/
This is great but there are several things i need different, i don’t need the images to get bigger when you click on them, i want spaces between the images and the images will be of different sizes and shapes. Also the fla file supplied with the tutorial won't open. I'd really appreciate it if anyone can point me to a tutorial or fla file that have these features, thanks.
[CS3] Scrolling Images
Hi there,
I have a "lookbook" made in flash, and by "lookbook" I mean, when you move your mouse to the left or to the right of the screen the images scroll left or right depending on where you're mouse is on the screen.
Currently when the images get to the end of the scroll it stops at the last image. (either direction you scroll.) I would like the images to keep scrolling and just repeat the images instead of stopping at the end. (either direction you scroll.)
I have spent a few hours trying to figure this one out and
I can't seem to get this done on my own, and not sure where to look on these forums for this solution. So if there's a post out there that better explains how to do this, I'm all for it. I'm hoping it's a simple fix but since I'm a newb to flash it's not so easy for me I suppose.
here is a link to the "lookbook" fla file to get a better idea of what I am talking about.
http://www.thebrandonstore.com.php5-...t/gpb-look.fla
I greatly appreciate and welcome any help or posts that you can throw at me.
Thanks again in advance!
Jeremy
[CS3] Scrolling Images?
OK here is the deal. I have a set of like 100+ logos that I want to just constantly float horizontally across the screen at a decent speed with no user input.
I have already spent the last 2 hours trying to find tutorials and samples but I get overwhelmed every time I look at the Flash CS3 Pro layout.
-It would be nice to have one parameter that decides the speed, one that decides the direction, and one that indicates the root file of the images (all .gif btw)
-The smallest image is 72x54 and the largest is 233x52 (none are taller than 54px)
It would also be good to set the amount of spacing between logos, but the goal is to have all of them rotating continuously, where it will start over again without a hitch. I know how to make a picture/object move across but the problem is that it would restart only after it's reached the end right? Then each image would have to be loaded in manually instead of just picking all from a folder.
I at least need the right direction to go in and I think I could find my way from there... I'm not even sure where I should start exactly since Fl seems just ridiculous.
Thanks in advance.
EDIT:
OK so I got something that repeats... it really wasn't that hard but it's definitely not as modular as I wanted it to be. If what I said above is really hard, how about a way to make this .fla stop scrolling on mouse-over and start again on mouse-out? I messed around with AS3 but only got errors.
Scrolling Images
I have a script which loads images to a list:
ActionScript Code:
k = 0;
function listuj() {
for (i=1; i<=nr; i++) {
_root.lista.createEmptyMovieClip("box"+i, k);
duplicateMovieClip(_root.lista.phbutt, "butt"+i, k-nr);
k++;
loadMovie("Foto/min"+i+".jpg", _root.lista["box"+i]);
setProperty(_root.lista["box"+i], _x, i*130-10);
setProperty(_root.lista["box"+i], _y, 349);
setProperty(_root.lista["butt"+i], _x, i*130-10);
setProperty(_root.lista["butt"+i], _y, 349);
_root.lista["vari"+i] = "Foto/max"+i+".jpg";
}
}
butt - button under the image
box- place where the image is holded.
It puts the images in strict distance: "i*130-10". How do I have to modify the script so that it reads the width of an image?
Scrolling Images
http://www.myttonwilliams.co.uk/?id=65
I came across this site and want to copy the way it functions... in terms of how you can scroll across horizontally. i want to copy it more or less exactly in the sense that both text and images scroll and disappear to the left. I'm working in dreamweaver and appreciate that this clearly uses javascript but would like to work out how because my knowledge is very limited. Please help... if anyone can provide any similar examples i'd be open to sacrifice, providing its not through use of a scroll bar...
SCROLLING IMAGES
www.truvisionentertainment.com/main.html
There are three things that I am having difficulty figuring out how to do. First thing is that when the "talent" button is pressed I would like for actors headshots to fade in. Once they fade in I need them to be able to scroll up and down finally, I need those same photos to become buttons. I have tried several different ways to make this possible, however nothing has worked for me those far. Any suggestions?
Scrolling Through Images
I need to make a scroll bar that scrolls through my image thumbnails. ? I have a row of 4 pictures and I want it to scroll to the next set of four and so on.... Is that possible?
Thanks.
www.mcbruno.com
Scrolling Images
surely there must be a very very simple way to scroll IMAGES as you attach a scroll bar to text fields? is there? all i want is text and images scrollign in sweet union in one clip
Scrolling Images
Rumor had it that in MX2004 you could important an image dynmically through a text file and have it scroll. I only have MX though, is there anyway without loading anything dynamically just in a text field to insert a image and have it scroll with the text?
Scrolling Box (with Images)
I have noticed a few sites I've come across that have custom scrollbars that work along with images inside of the text boxes (or containers?) If anyone can point me in the right direction, even to a tutorial that would work and allow me to create a scrollbar that will work with image content as well as text I would greatly appreciate it..
thanks
James
Scrolling Bar With Images
Hi!
I'm having trouble with a scrolling image bar. Below is the code
onClipEvent (enterFrame) {
direction = ((-247-_root._xmouse)/25);
if ( ((this._x>=403) && (direction > 0)) || ((this._x<=-873)&&(direction<0)) ) {
direction = 0;
}
this._x = this._x+direction;
}
I have problems with line 2 of the code, whereby:
direction=((-247-_root._xmouse)/25); meaning that -247 does not work, wherby if I placed a positive number, say 2, it will work. Unfortunately, it is a series of images , like a photo gallery, so it is very long, and the centre position of the clip is a negative position, at -247. Is there a way to rectify this problem as I'm not too good with programming and got this script off from somewhere.
Scrolling Images
hiya
i am trying to find out how to make a series of images horizontally scroll so that when you roll over the scroll box the scrolling begins, and if you move your cursor to the left side it goes left, if you move it to the right it scrolls right.. and possibly control the speed by how far left or right you move the mouse.. have seen it done on a few sites (though i can't seem to find these examples today..) so hoping someone can explain or point to a place that explains it..
(also i am a knucklehead so please don't be too confusing!)
thanks..
jj
Scrolling Images
OK I’m still having problems with this scrolling menu. [Tut]
It seems to work ok until you move the mouse to the left. Then it stops when it gets to the first frame.
The code is:
PHP Code:
onClipEvent (load)
{
xcenter=389.9;
speed=1/10;
}
onClipEvent (enterFrame)
{
var distance=_root._xmouse-xcenter;
_x-=(distance*speed);
if (_x > 0) _x=-1768.6;
if (_x < -1768.6) _x=0;
}
I have supplied the fla if it helps.
As always, I don’t want anyone to do it for me. I would just like to know what I’m doing wrong.
I have about 30 of these to do so I would like to be able to them myself and not have to keep posting when things go pear shaped.
Thanx in advance
|